I have a large regular expression file, one per line. I would like to invert grep another multiline file against any regular expression that appears in the first file. Something like that:
grep -v fileWithManyRegularExpressions fileThatMightMatchSomeRegularExpressions
Is there an elegant way to do this, besides having to iterate over all regular expressions?
source
share