3 comm \- print lines common to two sorted files
5 \fBcomm\fR [\fB\-123\fR] \fIfile1 file2\fR
20 # Suppress column 1 (lines present only in \fIfile1\fP)
23 # Suppress column 2 (lines present only in \fIfile2\fP)
26 # Suppress column 3 (lines present in both files)
30 # Print all three columns
32 .B comm \-12 file1 file2
33 # Print only lines common to both files
36 Two sorted files are read and compared.
37 A three column listing is produced.
44 files common to both files are in column 3.
45 The file name \- means \fIstdin\fR.