This is an old revision of the document!
To find lines that are in both of two files (intersection) or in only one of the two files (subtraction), use the following commands:
# intersection of file1 and file2 grep -xF -f file1 file2 # subtraction of file1 from file2 grep -vxF -f file1 file2
For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.