2/14/2014

delete content of file1 from file2

grep -v -f file1 file2 > outfile

here outfile will have data other than file1 content

For exact match, use -Fx

grep -vFx -f file1 file2 > outfile

没有评论: