I have 2 text files to compare on their first column. The following comm command shows the common lines from the 2 files correctly.
comm develop1.txt qa1.txt -12
But the following diff command does not show the difference as expected.
diff develop1.txt qa1.txt --side-by-side
Expected output is as follows:
mysql-data/webservice 280292 | mysql-data/webservice 28684
But these two values are not on the same line because the number in the last column are different. I do actually need to compare the numbers in side-by-side format. How can it be achieved?