(textutils.info)comm invocation
uniq invocation Up:
Operating on sorted files
`comm': Compare two sorted files line by line
=============================================
`comm' writes to standard output lines that are common, and lines
that are unique, to two input files; a file name of `-' means standard
input. Synopsis:
comm [OPTION]... FILE1 FILE2
The input files must be sorted before `comm' can be used.
With no options, `comm' produces 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. Columns
are separated by <TAB>.
The options `-1', `-2', and `-3' suppress printing of the
corresponding columns. Also see Note: Common options.
Dirfile and infopages generated Sat Dec 3 02:07:54 2005