COHERENT manpages

This page displays the COHERENT manpage for comm [Print common lines].

List of available manpages
Index


comm -- Command

Print common lines
comm [ -123 ] file1 file2

The command comm prints the lines  unique to file1 in the first column, the
lines unique to file2 in the second column, and the lines common to both in
the third.  Both  file1 and file2 should be sorted  in ASCII order.  Any or
all  columns may  be  suppressed by  indicating  the column  or columns  to
suppress in the optional flag.  The file `-' means standard input.

See Also

cmp,
commands,
diff,
sort,
uniq