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 |