August 1999
Intermediate to advanced
1000 pages
83h 9m
English
/usr/bin/comm [-123] file1 file2
Use the comm command to compare lines common to the sorted files or to display lines unique to each file. comm reads file1 and file2 , which should be ordered in the current collating sequence, and produces three text columns as output:
Lines only in file1 .
Lines only in file2 .
Lines in both files.
If the input files were ordered according to the collating sequence of the current locale, the lines written are in the collating sequence of the original lines. If not, the results are unspecified.
| -1 | Suppress the output column of lines unique to file1 . |
| -2 | Suppress the output column of lines unique to file2 . |
| -3 | Suppress the output ... |
Read now
Unlock full access