Unix Command comm: Compare Two Files
Unix Command comm: Compare Two Files
One lesser known Unix command is comm. This command is far less known than diff. comm needs two already sorted files FILE1 and FILE2. With the options -1 suppress column 1 (lines unique to FILE1) -2 suppress column 2 (lines unique to FILE2) -3 suppress column 3 (lines that appear in both files) For example, comm -12 F1 F2 prints all common lines in files F1 and F2. I thought that comm had a bug,…
View On eklausmeier.goip.de














