Blob
1 .TH COMM 12 .CT 1 files3 .SH NAME4 comm \- select or reject lines common to two sorted files5 .SH SYNOPSIS6 .B comm7 [8 .B -1239 ]10 .I file1 file211 .SH DESCRIPTION12 .I Comm13 reads14 .I file115 and16 .IR file2 ,17 which are in lexicographical order,18 and produces a three column output: lines only in19 .IR file1 ;20 lines only in21 .IR file2 ;22 and lines in both files.23 The file name24 .L -25 means the standard input.26 .PP27 Flag28 .LR 1 ,29 .LR 2 ,30 or31 .LR 332 suppresses printing of the corresponding33 column.34 .SH EXAMPLE35 .TP36 .EX37 comm -12 file1 file238 .EE39 .IP40 Print lines common to two sorted files.41 .SH SOURCE42 .B /usr/local/plan9/src/cmd/comm.c43 .SH "SEE ALSO"44 .IR sort (1),45 .IR cmp (1),46 .IR diff (1),47 .IR uniq (1)