Re: apt-get 'search'?
Tony Uceda Velez wrote:
> Anyone know what is comparable to Gentoo's 'emerge search' in apt-get? Man
> pages didn't reflect something similar? Want to search for list of packages
> that start with a certain string.
grep-available -r -F Package '^prefix'
The -r tells it to accept regular expressions, and "-F Package" to look
in the Package field. '^prefix' is of course the prefix you want to
search for, preceded by a caret. grep-available is in the grep-dctrl
There is also "apt-cache search", which is generally easier to use,
although it's harder (maybe impossible?) to fine-tune exactly how it
Kevin B. McCarty <email@example.com> Physics Department
WWW: http://www.princeton.edu/~kmccarty/ Princeton University
GPG public key ID: 4F83C751 Princeton, NJ 08544