Gentoo Archives: gentoo-admin

From: Radoslaw Dlugosz <rdlugosz@×××××××××××××××.pl>
To: gentoo-admin@l.g.o
Subject: Re: [gentoo-admin] system audit
Date: Sun, 25 Dec 2005 13:20:08
Message-Id: 43AE9372.20102@student.agh.edu.pl
In Reply to: Re: [gentoo-admin] system audit by "J.A."
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. -- gentoo-admin@g.o mailing list

Replies

Subject Author
Re: [gentoo-admin] system audit Radoslaw Dlugosz <rdlugosz@×××××××××××××××.pl>
Re: [gentoo-admin] system audit "J.A." <HEBLACK@×××××××××××.COM>