Charles.Forsyth20060303-partialeea662d19 years agoHistory
46 lines · 674 B · Text
RawDownload
.TH COMM 1 .SH NAMEcomm \- select or reject lines common to two sorted files.SH SYNOPSIS.B comm[.B -123].I file1 file2.SH DESCRIPTION.I Commreads lines from.I file1and.IR file2 ,which are in lexicographical order,and produces a three column output: lines only in.IR file1 ;lines only in.IR file2 ;and lines in both files.The file name.L -means the standard input..PPEach option digit.LR 1 ,.LR 2 ,or.LR 3suppresses printing of the correspondingcolumn..SH EXAMPLE.TP.EXcomm -12 file1 file2.EE.IPPrint lines common to two sorted files..SH SOURCE.B /appl/cmd/comm.b.SH "SEE ALSO".IR sort (1),.IR cmp (1), .IR diff (1), .IR uniq (1)