I'm using grep for filtering a bunch of files. However, I need to remove exactly one pattern from the results. Like this
grep pattern FILES | ... do something ... | grep remove_pattern | ... do something ...
I can obviously replace
remove_pattern with a regular expression but I prefer not to use them, if I can, in order to reduce complexity. Therefore I was wondering if there was an "opposite grep" that returns only the non-matching patterns,
notgrep remove_pattern or something like that.