On Mon, Jan 25, 2010 at 02:19:31PM -0800, Danek Duvall wrote:
> Will Fiveash wrote:
> 
> > That would be nice.  Another thing that would be a nice refinement is to
> > make it easier for pkg list to list all installed package associated with
> > a particular publisher.  I know it can be done but it is a bit indirect
> > since the output of "pkg publisher" can not be used as is as an arg to
> > "pkg list".
> 
> What are you suggesting, specifically?
> 
>     pkg publisher opensolaris.org | pkg list
> 
> or
> 
>     pkg list $(pkg publisher opensolaris.org)
> 
> ?  I'm not sure that's any more intuitive than the current solution.  It's
> certainly not less verbose.

What I'm interested in is:

$ pkg publisher
PUBLISHER                             TYPE     STATUS   URI
opensolaris.org          (preferred)  origin   online   
http://ipkg.sfbay.sun.com/dev/
extra                                 origin   online   
https://pkg.sun.com/opensolaris/extra/
contrib.opensolaris.org               origin   online   
http://pkg.opensolaris.org/contrib/
^^^^^^^^^^^^^^^^^^^^^^^ (copy)

$ pkg list -p contrib.opensolaris.org
              ^^^^^^^^^^^^^^^^^^^^^^^ (paste)

NAME (PUBLISHER)                              VERSION         STATE      UFOXI
opensc                                        0.5.11-0.129    installed  u----

> > It would also be nice if the term pkg_fmri and pkg_fmri_pattern were
> > clearly explained in the pkg man page.
> 
> "Package FMRI" is described in pkg(5), though no mention is made of
> patterns; feel free to file a manpage bug on that.

That and pkg(1) does not make it clear that FMRI info is in pkg(5).

-- 
Will Fiveash
Sun Microsystems               Office x64079/512-401-1079
Austin, TX, 78727              (TZ=CST6CDT), USA
Internal Solaris Kerberos/GSS/SASL website: http://kerberos.sfbay.sun.com
http://opensolaris.org/os/project/kerberos/

Reply via email to