How do I match all lines not matching a particular pattern using grep? I tried this:
grep
grep '[^foo]'