|
|
1.1 ! root 1: .TH COMM 1 ! 2: .CT 1 files ! 3: .SH NAME ! 4: comm \- select or reject lines common to two sorted files ! 5: .SH SYNOPSIS ! 6: .B comm ! 7: [ ! 8: .B -123 ! 9: ] ! 10: .I file1 file2 ! 11: .SH DESCRIPTION ! 12: .I Comm ! 13: reads ! 14: .I file1 ! 15: and ! 16: .I file2, ! 17: which are ordered in ! 18: .SM ASCII ! 19: collating sequence, ! 20: and produces a three column output: lines only in ! 21: .IR file1 ; ! 22: lines only in ! 23: .IR file2 ; ! 24: and lines in both files. ! 25: The filename ! 26: .L - ! 27: means the standard input. ! 28: .PP ! 29: Flag ! 30: .LR 1 , ! 31: .LR 2 , ! 32: or ! 33: .LR 3 ! 34: suppresses printing of the corresponding ! 35: column. ! 36: .SH EXAMPLES ! 37: .TP ! 38: .L ! 39: comm -12 file1 file2 ! 40: Print lines common to two sorted files. ! 41: .TP ! 42: .L ! 43: deroff -w /usr/lib/upas/names.last | tr a-z A-Z | sort -u >temp ! 44: .br ! 45: .ns ! 46: .TP ! 47: .L ! 48: spell temp | comm -13 - temp ! 49: Print names that are known both to ! 50: .IR mail (1) ! 51: and ! 52: .IR spell (1) ! 53: .SH "SEE ALSO" ! 54: .IR sort (1), ! 55: .IR cmp (1), ! 56: .IR diff (1), ! 57: .IR uniq (1), ! 58: .IR join (1)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.