On Saturday 09 August 2003 21:16, Kurt V. Hindenburg wrote:
> Often I want to see the output of --search without actually searching.
> That is I would like to do
> % emerge --newcommand ash
> and the output would the same as if I emerge --search ash with only
> ash info being listed.  Is this possible now?
>
> *  app-shells/ash
>       Latest version available: 1.6
>       Latest version installed: [ Not Installed ]
>       Size of downloaded files: 926 kB
>       Homepage:    http://cvsweb.netbsd.org/bsdweb.cgi/src/bin/sh/
>       Description: NetBSD's lightweight bourne shell
>
> If not, I'm going to have to whip up some code for this....
>
If you do an "emerge -s <pattern>" then emerge does a regexp search of the 
pattern. So if you want to have ash *only*, do
% emerge -s "^ash$"
and you are set. :-)


Hope that helps.

Cheers,
Renat



--
[EMAIL PROTECTED] mailing list

Reply via email to