Filename string manipulation
I am writing a KSH script which will parse two filenames and match the last two characters, e.g file1_22050325.04 & file2_20050325.04. If a pattern match is found, i.e. 04 with 04 in this case, the contents are to be matched based on record count in one file and a row count in the other file.
I tried awk but it is not straigtforward.
Would really appreciate it if someone out there could help me out.