1COMM(1) General Commands Manual COMM(1)
2
3
4
6 comm - select or reject lines common to two sorted files
7
9 comm [ - [ 123 ] ] file1 file2
10
12 Comm reads file1 and file2, which should be ordered in ASCII collating
13 sequence, and produces a three column output: lines only in file1;
14 lines only in file2; and lines in both files. The filename `-' means
15 the standard input.
16
17 Flags 1, 2, or 3 suppress printing of the corresponding column. Thus
18 comm -12 prints only the lines common to the two files; comm -23 prints
19 only lines in the first file but not in the second; comm -123 is a no-
20 op.
21
23 cmp(1), diff(1), uniq(1)
24
25
26
277th Edition April 29, 1985 COMM(1)