NetBSD/usr.sbin/pkg_install/admin
hubertf d06e2d8e2e Add "lsall" and "lsbest" commands to pkg_admin, to find all/best
package matching a certain pattern. Examples:

            yui# cd /usr/pkgsrc/packages/i386ELF/All/
            yui# ls unzip*
            unzip-5.40.tgz  unzip-5.41.tgz
            yui# pkg_admin lsall 'unzip*'
            unzip-5.40.tgz
            unzip-5.41.tgz
            yui# pkg_admin lsall 'unzip>=5.40'
            unzip-5.40.tgz
            unzip-5.41.tgz
            yui# pkg_admin lsall 'unzip>=5.41'
            unzip-5.41.tgz
            yui# pkg_admin lsbest 'unzip>=5.40'
            unzip-5.41.tgz
            yui# pkg_admin lsall /usr/pkgsrc/packages/i386ELF/All/'{mit,unproven}-pthread*'
            /usr/pkgsrc/packages/i386ELF/All/mit-pthreads-1.60b6.tgz

This adds a shell/user-interface to pkg-patterns, which are a superset
of sh/csh patterns and can't be expanded by any shell.
2000-05-08 22:48:42 +00:00
..
Makefile Add code for pkgdb. 1999-01-19 17:01:56 +00:00
README Add code for pkgdb. 1999-01-19 17:01:56 +00:00
main.c Add "lsall" and "lsbest" commands to pkg_admin, to find all/best 2000-05-08 22:48:42 +00:00
pkg_admin.1 Add "lsall" and "lsbest" commands to pkg_admin, to find all/best 2000-05-08 22:48:42 +00:00

README

Some of the options of this utility (add, delete) are *not* intended for
public release. Any work regarding the consistancy of the pkgdb should
be put into pkg_add/pkg_delete, instead of a brute-force "rebuild". 

The "rebuild" should be only needed wen upgrading from non-pkgdb-
pkg_* tools to pkgdb-pkg_* tools.


 - hubertf