1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3.
2 .TH COMM "1" "January 2016" "GNU coreutils 8.25" "User Commands"
4 comm \- compare two sorted files line by line
7 [\fI\,OPTION\/\fR]... \fI\,FILE1 FILE2\/\fR
9 .\" Add any additional description here
11 Compare sorted files FILE1 and FILE2 line by line.
13 When FILE1 or FILE2 (not both) is \-, read standard input.
15 With no options, produce three\-column output. Column one contains
16 lines unique to FILE1, column two contains lines unique to FILE2,
17 and column three contains lines common to both files.
20 suppress column 1 (lines unique to FILE1)
23 suppress column 2 (lines unique to FILE2)
26 suppress column 3 (lines that appear in both files)
28 \fB\-\-check\-order\fR
29 check that the input is correctly sorted, even
30 if all input lines are pairable
32 \fB\-\-nocheck\-order\fR
33 do not check that the input is correctly sorted
35 \fB\-\-output\-delimiter\fR=\fI\,STR\/\fR
36 separate columns with STR
38 \fB\-z\fR, \fB\-\-zero\-terminated\fR
39 line delimiter is NUL, not newline
42 display this help and exit
45 output version information and exit
47 Note, comparisons honor the rules specified by 'LC_COLLATE'.
51 Print only lines present in both file1 and file2.
54 Print lines in file1 not in file2, and vice versa.
56 Written by Richard M. Stallman and David MacKenzie.
58 GNU coreutils online help: <http://www.gnu.org/software/coreutils/>
60 Report comm translation bugs to <http://translationproject.org/team/>
62 Copyright \(co 2016 Free Software Foundation, Inc.
63 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
65 This is free software: you are free to change and redistribute it.
66 There is NO WARRANTY, to the extent permitted by law.
71 Full documentation at: <http://www.gnu.org/software/coreutils/comm>
73 or available locally via: info \(aq(coreutils) comm invocation\(aq