I want to compare two files and get the difference in new file with the changed column number for each row. Both the files have same structure with sorted data and same number of rows.
I have two files,
I want to compare these two files and print details of difference of records. like for 1st row for which column is having mismatch. so when we compare above two files first row in 2nd file is not same as first row in 1st file . so output is like below.
Sr no|Col no 01|3 02|2,3