Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Aug 2012 10:26:44 -0700 (PDT)
From:      Jeffrey Bouquet <jeffreybouquet@yahoo.com>
To:        Patrick Lamaiziere <patfbsd@davenulle.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: One more pkg non-default-please edge-case reasoning...
Message-ID:  <1345915604.11722.YahooMailClassic@web111312.mail.gq1.yahoo.com>
In-Reply-To: <20120825122417.320da61f@davenulle.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <patfbsd@davenulle.org> wrote=
:=0A=0A> From: Patrick Lamaiziere <patfbsd@davenulle.org>=0A> Subject: Re: =
One more pkg non-default-please edge-case reasoning...=0A> To: "Jeffrey Bou=
quet" <jeffreybouquet@yahoo.com>=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 <jeffreybouquet@yahoo.com>=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> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1345915604.11722.YahooMailClassic>