Missing: Three pages of examples (maybe) from "man pkg query" (or some other workaround... Use Case: (one of many variants) follows... pwd == /usr/ports/graphics/exif [alias for make build-depends-list ] ... one second [needs libexif] # query, is it installed? lookat /var/db/pkg/libex[tab][tab][tab][tab] #zsh doing the work lookat /var/db/pkg/libexif-# , cr # ... 2nd, 3rd and fourth seconds [select +REQ...BY in lookat's file selection pane ] 5th second result: already installed, required by 15-20 ports already. I tried to find an equivalent in man pkg-query. Un-exampled format string rules, combinations, orders, etc are presented. I presume that if pkg becomes the default, I'd have to formulate an alias to match lookat's *immediate* result with the scenario above (which I use many times weekly...) and hope that it works as well. [1] Then, there is the case, that if some reason I am locked into the sh shell, or programming in bash, or something, hours additionally (probable) to what *may* have been way easier (as above) is to be reckoned with. [1] Ignorance, I know, but still... [Not the only reply to this message, FWIW for those to whom the other reply was not Cc:'d...] J. Bouquet --- On Sat, 8/25/12, Patrick Lamaiziere <patfbsd_at_davenulle.org> wrote: > From: Patrick Lamaiziere <patfbsd_at_davenulle.org> > Subject: Re: One more pkg non-default-please edge-case reasoning... > To: "Jeffrey Bouquet" <jeffreybouquet_at_yahoo.com> > Cc: freebsd-ports_at_freebsd.org > Date: Saturday, August 25, 2012, 3:24 AM > Le Fri, 24 Aug 2012 19:44:15 -0700 > (PDT), > Jeffrey Bouquet <jeffreybouquet_at_yahoo.com> > a écrit : > > > This side of simple. (Additionally, a nice > white-on-blue readability). > > Never got used to the search keys in "less" etc. > So the flat files > > here serve a purpose I surmise is not that common. > > And figuring out which category /editors/ etc > (the pkg-plist > > equivalent) is way slower in many cases. > > A reason to retain that particular usability... > til/when I/someone > > notices a workaround. > > I'm not sure to understand what you want to do, but listing > the files > owned by an installed pkg packages is easy: > for zip: > # pkg info -l zip > zip-3.0 owns the following files: > /usr/local/bin/zip > ... > /usr/local/share/doc/zip/WHERE > > Please have a try with pkg, is really great. >Received on Sat Aug 25 2012 - 15:26:46 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:30 UTC