September 15, 2010
grep -Fx -f file1 file2

intersection between two files | commandlinefu.com

I just re-discovered this and don’t want to forget, so it’s a rather simple example, but still really useful!  Gotta browse for some good snippets later.

Comments
blog comments powered by Disqus