Re: Package naming conventions (?)
- In reply to: Ronald F. Guilmette: "Re: Package naming conventions (?)"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 31 Dec 2021 11:48:32 UTC
On Thu, Dec 30, 2021 at 11:30 PM Ronald F. Guilmette wrote: > In message <CABObuOpcsG= > hgLTTqm-Pw9PMWrS__5uLohY4JWwJvq9O-G1fJA@mail.gmail.com> > "parv/freebsd" <parv.0zero9+freebsd@gmail.com> wrote: > ... > >> (I am not aware of any easier way to generate such a list of the base > names > >> of all currently installed packages. If I have just missed how to do > that > >> more easily, please let me know.) > > > > > >Check out "raw" output via '--raw' option of pkg-info(8); note the "name" > >field. There may be some incantation for pkg-query(8) to obtain the > >information > >more directly. > > Ummm... Invalid option. > > # pkg info --raw > Usage: pkg info <pkg-name> > pkg info -a > pkg info [-AbBDdefIklOqRrs] [-Cgix] <pkg-name> > pkg info [-AbBDdfIlqRrs] -F <pkg-file> > > For more information see 'pkg help info'. > "--raw" option is listed in the manual page of pkg-info(8); requires a package name. - parv --