in reply to Searching multiple expressions in multiple Files
If you have fgrep and sort available then you could do it like this:
fgrep -o -f list_of_strings_file directory/* | sort -u
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Searching multiple expressions in multiple Files
by planetscape (Chancellor) on Mar 31, 2009 at 12:44 UTC | |
|
Re^2: Searching multiple expressions in multiple Files (perl-5.10 vs. fgrep)
by almut (Canon) on Mar 31, 2009 at 14:35 UTC | |
|
Re^2: Searching multiple expressions in multiple Files
by technoz (Initiate) on Mar 31, 2009 at 13:22 UTC |