comm locates identical lines within files sorted in the same collating sequence and produces three columns; the first contains lines found only in the first file, the second lines only in the second file and the third lines which are in both files.
suppresses lines that appear only in file1.
suppresses lines that appear only in file2.
suppresses lines that appear both in file1 and file2.
The options suppress individual columns; thus to list only the lines
common to both files, use comm
To find lines which are unique to one file or the other use
Possible exit status values are:
Failure because of an error opening or reading an input file.
Failure which generated a usage message, such as naming only one input file.
Incorrect command line options are reported but do not affect the exit status value.
POSIX.2. x/OPEN Portability Guide 4.0. All UNIX systems. Windows 7. Windows Server 2008 R2. Windows 8. Windows Server 2012. Windows 10. Windows Server 2016.
PTC MKS Toolkit for Power Users
PTC MKS Toolkit for System Administrators
PTC MKS Toolkit for Developers
PTC MKS Toolkit for Interoperability
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
PTC MKS Toolkit 10.1 Documentation Build 15.