From owner-freebsd-current@FreeBSD.ORG Sat Aug 25 17:26:46 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1FCD61065694 for ; Sat, 25 Aug 2012 17:26:46 +0000 (UTC) (envelope-from jeffreybouquet@yahoo.com) Received: from nm2-vm0.bullet.mail.sp2.yahoo.com (nm2-vm0.bullet.mail.sp2.yahoo.com [98.139.91.248]) by mx1.freebsd.org (Postfix) with SMTP id E87EB8FC1E for ; Sat, 25 Aug 2012 17:26:45 +0000 (UTC) Received: from [72.30.22.92] by nm2.bullet.mail.sp2.yahoo.com with NNFMP; 25 Aug 2012 17:26:45 -0000 Received: from [98.139.91.50] by tm14.bullet.mail.sp2.yahoo.com with NNFMP; 25 Aug 2012 17:26:45 -0000 Received: from [127.0.0.1] by omp1050.mail.sp2.yahoo.com with NNFMP; 25 Aug 2012 17:26:45 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 455795.93460.bm@omp1050.mail.sp2.yahoo.com Received: (qmail 36835 invoked by uid 60001); 25 Aug 2012 17:26:45 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1345915605; bh=brE5BXtnxhHDlLaDtQ9a0A52GxPlXjk69ny0A+AexlM=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=JhWJ3w/c0GA63quUxtA37EGxZpUkCb0+Y3anvUPbwAd/lf69vFSudH/y+1Gs6zUdtcp9QQbzsoO8b0ltunhcHmIgc7GCm6UJxto0IXKRJvp5fW9wM3O/Qax2UYWK6gNk46vltS3BNjqAPuS4FMTiZ5TPE6wcd2V8jpyuD49Vgvg= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=ctMx+gZz8YRP0K7OLBRcva3pgZkHDr5oRjLCd6SS2fn+ejKGkOwk7I5bgn8DNB1h2J6eDpMLxz53kx5jJoWAUssvL9/uWVmkHhUbiCvb7KG8/fsYTPDqVtImDQ66i+DZy3vNZKjeC/dbGQEE+32+yDZjuwS//Oo3hAu8HGWg3K8=; X-YMail-OSG: W0AqPDgVM1n.OMLf8rPGY1u0lE4VvC8eDgiNcDMRhwRP1gs HFT7c5xyoTBwDGkTcSXudS01G5YdTT0A.kS8nyc43EPD4au30WNkVwtf4w8L LAzREFTlS35FFU3hVAqX4qnjTP48NZWpbcOzP_bNkWWhLrYlnpi7IChI6M5L Hs4V62UbgsLoNihmyG5jpNEfggauCM9kH9gG5ASTUuUuyFdBDHbV4rOVihOo Ax_tMThUMzGhmQVw25LG8fgZ0xuw6ExdpYPdzHF5m6NTbe0HOolapLx2db6B wGOkEjsKZEnWwJTy7Bm3coc73v_Bd9HFf_ShTZophKGdSPNaDF71_e36bXP_ wXHi1CDPrLPQ99qmgNOO1IUy_YmzGBBrMJQpxiZe4dCLi7Nl6lZemirpgguA 2EM0HRGhhbDrGV8EgnrJDRiJeP0mw0pAxhF7yCBnNMgrA2NHpJncu6y_vA4O LSuV6LRhobIX4FEdJohP.gQcd Received: from [66.92.43.99] by web111312.mail.gq1.yahoo.com via HTTP; Sat, 25 Aug 2012 10:26:44 PDT X-Mailer: YahooMailClassic/15.0.8 YahooMailWebService/0.8.121.416 Message-ID: <1345915604.11722.YahooMailClassic@web111312.mail.gq1.yahoo.com> Date: Sat, 25 Aug 2012 10:26:44 -0700 (PDT) From: Jeffrey Bouquet To: Patrick Lamaiziere In-Reply-To: <20120825122417.320da61f@davenulle.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Sat, 25 Aug 2012 19:07:55 +0000 Cc: freebsd-current@freebsd.org Subject: Re: One more pkg non-default-please edge-case reasoning... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Aug 2012 17:26:46 -0000 Missing: Three pages of examples (maybe) from "man pkg query"=0A(or some ot= her workaround...=0AUse Case: (one of many variants) follows... =0A=0Apwd = =3D=3D /usr/ports/graphics/exif=0A[alias for make build-depends-list ] ...= one second=0A[needs libexif] # query, is it installed?=0Alookat /var/db/p= kg/libex[tab][tab][tab][tab] #zsh doing the work=0Alookat /var/db/pkg/lib= exif-# , cr # ... 2nd, 3rd and fourth seconds=0A[select +REQ...BY in looka= t's file selection pane ] 5th second=0Aresult: already installed, require= d by 15-20 ports already.=0A=0AI tried to find an equivalent in man pkg-que= ry. Un-exampled=0Aformat string rules, combinations, orders, etc are prese= nted. I=0Apresume that if pkg becomes the default, I'd have to formulate an= =0Aalias to match lookat's *immediate* result with the scenario=0Aabove (wh= ich I use many times weekly...) and hope that it works as=0Awell. [1] Then,= there is the case, that if some reason I am locked=0Ainto the sh shell, or= programming in bash, or something, hours=0Aadditionally (probable) to what= *may* have been way easier (as=0Aabove) is to be reckoned with. =0A[1] Ign= orance, I know, but still... =0A=0A=0A[Not the only reply to this message, = FWIW for those to whom the=0Aother reply was not Cc:'d...]=0A=0AJ. Bouquet= =0A=0A--- On Sat, 8/25/12, Patrick Lamaiziere wrote= :=0A=0A> From: Patrick Lamaiziere =0A> Subject: Re: = One more pkg non-default-please edge-case reasoning...=0A> To: "Jeffrey Bou= quet" =0A> Cc: freebsd-ports@freebsd.org=0A> Date= : Saturday, August 25, 2012, 3:24 AM=0A> Le Fri, 24 Aug 2012 19:44:15 -0700= =0A> (PDT),=0A> Jeffrey Bouquet =0A> a =E9crit := =0A> =0A> > This side of simple. (Additionally, a nice=0A> white-on-blue re= adability).=0A> > Never got used to the search keys in "less" etc.=A0=0A> S= o the flat files=0A> > here serve a purpose I surmise is not that common.= =0A> > And figuring out which=A0 category /editors/ etc=0A> (the pkg-plist= =0A> > equivalent) is way slower in many cases.=0A> > A reason to retain th= at particular usability...=0A> til/when I/someone=0A> > notices a workaroun= d.=0A> =0A> I'm not sure to understand what you want to do, but listing=0A>= the files=0A> owned by an installed pkg packages is easy:=0A> for zip:=0A>= # pkg info -l zip=0A> zip-3.0 owns the following files:=0A> /usr/local/bin= /zip=0A> ...=0A> /usr/local/share/doc/zip/WHERE=0A> =0A> Please have a try = with pkg, is really great.=0A>