I have a file f1
:
line1
line2
line3
line4
..
..
I want to delete all the lines which are in another file f2
:
Not a 'programming' answer but here's a quick and dirty solution: just go to http://www.listdiff.com/compare-2-lists-difference-tool.
Obviously won't work for huge files but it did the trick for me. A few notes: