| COMM(1) | General Commands Manual | COMM(1) |
comm - select or reject lines common to two sorted files
comm [ -123 ] file1 file2
Comm reads lines from file1 and file2, which are in lexicographical order, and produces a three column output: lines only in file1; lines only in file2; and lines in both files. The file name means the standard input.
Each option digit or suppresses printing of the corresponding column.
comm -12 file1 file2
/appl/cmd/comm.b