"Andrew S. Johnson" <andy@asjohnson.com> writes:
> How about egrep "this.*that|that.*this". Worked for me.
Doesn't scale too well beyond two search terms though, does it?
Believe it or not, I deliberately ignored doing that example in my
reply for this reason. I very frequently do things like:
$ grep pattern1 /var/log/logfile | grep -v ignorepattern1 \
| grep -v ignorepattern2 | less
-- Scott Harney<scotth@scottharney.com> "...and one script to rule them all." ___________________ Nolug mailing list nolug@nolug.orgReceived on 03/03/03
This archive was generated by hypermail 2.2.0 : 12/19/08 EST