On Fri, 20 Aug 2004, Wil Cooley wrote: > Another option is to write them to a file and use -f (i.e., fgrep). This is easily the most manageable solution, e.g. $ cat badstrings.txt ^this stuff unwanted.*string [[:space:]][[:space:]]*$ $ grep -v -f badstrings.txt working-file.txt --Paul Heinlein <heinlein at madboa.com>