I need to compare 2 files. Column 1 is the same in both files. Column 2 is what I want to compare: I want all lines in file 1 that are not in file 2 when comparing column 2. Column 3 is different in both files, even for lines where column 1 and 2 are identical. I cannot remove column 3, because as an output I want the lines from file 1 including this column.Here is an example: File 121  12340   321  12341   721  12342   221  12343   8921  12349   7File 221  12340   5521  12341   721  12343   8921  12344   721  12346   8821  12347   321  12348   37My output would be:21  12342   221  12349   7
Compare two files: lines present in one, not in the other, by one column comparison
text processing;columns;join;file comparison