Re: system audit

Radoslaw Dlugosz <[email protected]> Sun, 25 Dec 2005 12:41:22 +0000
Newsgroups gmane.linux.gentoo.admin
Message-ID <[email protected]>
J.A. wrote:
> 
> So here is what I tried like you suggested above:
> 
> ...@tux ~ $ locate festival | grep portage or var
> grep: or: No such file or directory
> grep: var: No such file or directory
> ...@tux ~ $ locate festival | grep "portage or var"
> blackhesonja@tux ~ $
This works:
$ locate festival | egrep "portage|festival"
Note there are no spaces betwenn the regexps and the |. Otherwise the 
space is treated as a part of the regexp.
-- 
[email protected] mailing list