Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: basesrc
Module Name: basesrc
Committed By: hubertf
Date: Mon May 8 22:48:42 UTC 2000
Modified Files:
basesrc/usr.sbin/pkg_install/admin: main.c pkg_admin.1
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 basesrc/usr.sbin/pkg_install/admin/main.c
cvs rdiff -r1.7 -r1.8 basesrc/usr.sbin/pkg_install/admin/pkg_admin.1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index