I have 3 files. Each of those files have the same number of records, however certain records have different values. I would like to grep the field in ALL 3 files and display the output with only the differences in column wise and if possible line number
File1
Name = Joe
Age = 33
Occupation = IT
File2
Name = Joe
Age = 33
Occupation = Doctor
File3
Name = Joe
Age = 33
Occupation = Engineer
So output after grepping for Occupation should look
File 1 File 2 File3
Occupation = IT Occupation = Doctor Occupation = Engineer