find lines that matches on 2 different sorted file
Supposed we have 2 sorted files:
file1
file2
comm
is a utility for finding lines that appear (or not) between 2 files. The normal output are 3 column.
Lines that is unique on file 1
Lines that is unique on file 2
Lines that are appear on both
Examples
Find lines that on both file only
-12
supresses (do not include) colunm 1 & 2
Fine line that is unique on first file
For file that is not uniq or sorted
If file is not sorted, you can use the <(..)
operator
Last updated