I have a txt file that contains the patterns I would like to exclude from a file. Is there a way to chain grep -f
and grep -v
?
Thanks
grep
I have a txt file that contains the patterns I would like to exclude from a file. Is there a way to chain grep -f
and grep -v
?
Thanks
Best Answer
You can use the options together like:
Example: