Is there a simpler way to do this?
grep -v foo file | grep -v bar
There're probably very elegant ways to do it with egrep, but how to go with plain old grep?
grep -v 'foo\|bar' file seems to work only with GNU grep. I'm on Solaris. Any solution for that?