Unix |
Unix v6 |
|
![]() |
comm(1) |
![]() |
comm print lines common to two files [ [ ] ] file1 file2 reads and which should be in sort, and produces a three column output: lines only in lines only in and lines in both files. The filename ‘’ means the standard input. Flags 1, 2, or 3 suppress printing of the corresponding column. Thus prints only the lines common to the two files; prints only lines in the first file but not in the second; is a no-op. cmp (I), diff (I)
![]() |
comm(1) | ![]() |