MAN page from RedHat Other textutils-1.22-1.1.i386.rpm
COMM
Section: User Commands (1)
Updated: GNU Text Utilities
Index NAME
comm - compare two sorted files line by line
SYNOPSIS
comm[-123] [--help] [--version] file1 file2
DESCRIPTION
This documentation is no longer being maintained and may be inaccurateor incomplete. The Texinfo documentation is now the authoritative source.
This manual pagedocuments the GNU version ofcomm.commprints lines that are common, and lines that are unique, to two inputfiles. The two files must be sorted beforecommcan be used. The file name `-' means the standard input.
With no options,commproduces three column output. Columnone contains lines unique tofile1,column two containslines unique tofile2,and column three contains lines common to both files.
OPTIONS
The options-1,-2,and-3suppress printing of the corresponding columns.
- --help
- Print a usage message and exit with a status code indicating success.
- --version
- Print version information on standard output then exit.
Index
- NAME
- SYNOPSIS
- DESCRIPTION
- OPTIONS
This document was created byman2html,using the manual pages.