.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.35.
.TH COMM "1" "June 2018" "GNU coreutils 8.4" "User Commands"
.SH NAME
comm \- compare two sorted files line by line
.SH SYNOPSIS
.B comm
[\fIOPTION\fR]... \fIFILE1 FILE2\fR
.SH DESCRIPTION
.\" Add any additional description here
.PP
Compare sorted files FILE1 and FILE2 line by line.
.PP
With no options, produce three\-column output.  Column one contains
lines unique to FILE1, column two contains lines unique to FILE2,
and column three contains lines common to both files.
.TP
\fB\-1\fR
suppress column 1 (lines unique to FILE1)
.TP
\fB\-2\fR
suppress column 2 (lines unique to FILE2)
.TP
\fB\-3\fR
suppress column 3 (lines that appear in both files)
.TP
\fB\-\-check\-order\fR
check that the input is correctly sorted, even
if all input lines are pairable
.TP
\fB\-\-nocheck\-order\fR
do not check that the input is correctly sorted
.TP
\fB\-\-output\-delimiter\fR=\fISTR\fR
separate columns with STR
.TP
\fB\-\-help\fR
display this help and exit
.TP
\fB\-\-version\fR
output version information and exit
.PP
Note, comparisons honor the rules specified by `LC_COLLATE'.
.SH EXAMPLES
.TP
comm \fB\-12\fR file1 file2
Print only lines present in both file1 and file2.
.TP
comm \fB\-3\fR
file1 file2  Print lines in file1 not in file2, and vice versa.
.SH AUTHOR
Written by Richard M. Stallman and David MacKenzie.
.SH "REPORTING BUGS"
Report comm bugs to bug\-coreutils@gnu.org
.br
GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
.br
General help using GNU software: <http://www.gnu.org/gethelp/>
.br
Report comm translation bugs to <http://translationproject.org/team/>
.SH COPYRIGHT
Copyright \(co 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
.br
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
.SH "SEE ALSO"
join(1), uniq(1)
.PP
The full documentation for
.B comm
is maintained as a Texinfo manual.  If the
.B info
and
.B comm
programs are properly installed at your site, the command
.IP
.B info coreutils \(aqcomm invocation\(aq
.PP
should give you access to the complete manual.
