Gentoo Archives: gentoo-admin

From: "J.A." <HEBLACK@×××××××××××.COM>
To: gentoo-admin@l.g.o
Subject: Re: [gentoo-admin] system audit
Date: Sun, 25 Dec 2005 00:17:23
Message-Id: 43ADF248.5030308@ISPMONSTERS.COM
In Reply to: Re: [gentoo-admin] system audit by Radoslaw Dlugosz
1 Radoslaw Dlugosz wrote:
2 >
3 > J.A. wrote:
4 >
5 >> Any regex containing ! or | operators seem to get
6 >> interpreted by bash as a bash operator. This could
7 >
8 > try using ' or " like:
9 > cat file | grep "one | two"
10
11 So here is what I tried like you suggested above:
12
13 ...@tux ~ $ locate festival | grep portage or var
14 grep: or: No such file or directory
15 grep: var: No such file or directory
16 ...@tux ~ $ locate festival | grep "portage or var"
17 blackhesonja@tux ~ $
18
19
20 --
21 <A HREF="HTTP://HEBLACK.BIZ">HTTP://HEBLACK.BIZ</A>
22 --
23 gentoo-admin@g.o mailing list

Replies

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