Thursday, November 18, 2010

Shell: showing lines which are present only in one file



comm -13 <(sort a.txt) <(sort b.txt)
will show only the lines which are present in b.txt
but not in a.txt.

No comments:

Blog Archive