Why I need to automate this is that I needed to compare 2 files. The
first one has 3 additional lines at the top. After the first 3 lines,
the rest should be IDENTICAL (sorry, I did not explain this earlier).
The problem is that the files has TAB characters inside and MORE
expands them. I can't find a switch where they are not expanded. So
the compare using comp fails.
My work around is that I also run the 2nd file using MORE to expand
the TAB also. But this is really a compromise cause I want to compare
the actual files.
Any other possible solutions ? By the way, thanks everybody for the
answer. Ingenious !