Subtract the Content of Two Files

Have you ever wanted to remove the content of one file from the content of another file linewise? I have been in the situation several times.

And I am more than happy to have discovered the solution however lame it may seem to you: cat FILE1 | grep -vf FILE2

Feedback is always welcome! If you'd like to get in touch with me concerning the contents of this article, please use Twitter.