diff options
author | hubertf <hubertf@pkgsrc.org> | 2000-05-11 16:37:52 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2000-05-11 16:37:52 +0000 |
commit | 80f6b284ef5ccccafc78cdd03ff07eb61d8980f8 (patch) | |
tree | c2c9647807289094dbd57b7869385468c92c3c83 /databases | |
parent | ee3f05b75ea5077adeadb79ccfe6d10a73aec93a (diff) | |
download | pkgsrc-80f6b284ef5ccccafc78cdd03ff07eb61d8980f8.tar.gz |
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.
Diffstat (limited to 'databases')
0 files changed, 0 insertions, 0 deletions