grep -v multiple strings from file
I have 2 files:
file1 string list: ben john eric
file2 few rows: ben when to school my mother went out the dog is big john
has FB eric is nice guy
expoted file : my mother went out the dog is big
I would like to use grep -v and remove the rows that containes the strings
from list.
this is the idea but the wrong command : grep -v cat file2 file1 > out
Thanks
Asaf
No comments:
Post a Comment