I have 2 files. I basically want to search both of them to see if the 1st column ($1) matches and if it matches then check to see if the 2nd column ($2) matches, then execute some code showing the results of the matches.
File 1:
AAA 123
misc blah
BBB 456
CCC 789
File 2:
AAA 123
BBB 333
CCC 789
Output:
"AAA contains 123"
"BBB is invalid"
"CCC contains 789"
Thank you so much, this forum is great.