Usage
Compare two sorted files line by line.
shellcomm OPTIONS FILE1 FILE2
Option | Description |
---|
-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) |
Example
Show unique lines of FILE1:
shellcomm -23 file1 file2