May 2017
Beginner
552 pages
28h 47m
English
These command-line options reduce the output:
The set difference operation enables you to compare two files and print all the lines that are in the A.txt or B.txt file excluding the common lines in A.txt and B.txt. When A.txt and B.txt are given as arguments to the comm command, the output will contain column-1 with the set difference for A.txt with regard to B.txt and column-2 will contain the set difference for B.txt with regard to A.txt.
The comm command will accept a - character on the command line to read one file from stdin. This provides a way to compare more than one file with a given input.
Suppose we have a C.txt file, like ...