1 |
Radoslaw Dlugosz wrote: |
2 |
> |
3 |
> |
4 |
> This works: |
5 |
> $ locate festival | egrep "portage|festival" |
6 |
> Note there are no spaces betwenn the regexps and the |. Otherwise the |
7 |
> space is treated as a part of the regexp. |
8 |
|
9 |
Thanks!!! I probably wouldn't have realized the part |
10 |
about the spaces. |
11 |
|
12 |
Now when the -v is put infront I can have locate |
13 |
list a lot of the files for an installed package |
14 |
except for the files in var and portage which I do |
15 |
not care about really at this point. The bang (!) |
16 |
operator gets interpreted by bash still. There may |
17 |
be a way to use it though instead of -v in grep. |
18 |
|
19 |
...@tux ~ $ locate festival | egrep -v "var|portage" |
20 |
|
21 |
|
22 |
-- |
23 |
<A HREF="HTTP://HEBLACK.BIZ">HTTP://HEBLACK.BIZ</A> |
24 |
-- |
25 |
gentoo-admin@g.o mailing list |