I have a directory on my Linux system whose contents are file names in pairs as follows:
File1a
File1b
File2a
File2b
File3a
File3b
I want to do a diff between the contents of File1a and File1b and store the results in a separate file. Similarly do this over other pairs iterating through the entire list. Can this be achieved with a shell script ?