I have two text files one file contains values as
Id Value
1 apple
2 orange
3 mango
4 banana
5 strawberry
6 papaya
In other file i have
Id Value
6 strawberry
4 banana
3 orange
1 mango
2 papaya
5 straw berry
I have to match between Id's and the corresponding strings in the value column and find the string correctness. How can this be done? Can it be done with shell script or should i follow some other programming.