Compare sorted files FILE1 and FILE2 line by line.
When FILE1 or FILE2 (not both) is -, read standard input.
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.
-1 suppress column 1 (lines unique to FILE1)
-2 suppress column 2 (lines unique to FILE2)
-3 suppress column 3 (lines that appear in both files)
check that the input is correctly sorted, even if all input
lines are pairable
do not check that the input is correctly sorted
separate columns with STR
output a summary
line delimiter is NUL, not newline
--help display this help and exit
output version information and exit
Note, comparisons honor the rules specified by 'LC_COLLATE'.
This page is part of the coreutils (basic file, shell and text
manipulation utilities) project. Information about the project can
be found at ⟨http://www.gnu.org/software/coreutils/⟩. If you have a
bug report for this manual page, see
⟨http://www.gnu.org/software/coreutils/⟩. This page was obtained from
the tarball coreutils-8.27.tar.xz fetched from
⟨http://www.gnutls.org/download.html⟩ on 2017-03-13. If you discover
any rendering problems in this HTML version of the page, or you
believe there is a better or more up-to-date source for the page, or
you have corrections or improvements to the information in this
COLOPHON (which is not part of the original manual page), send a mail
GNU coreutils 8.27 March 2017 COMM(1)