I have a file (file 1) which reads something like this:2  test13  test2 2  test3 1  test1 4  test2And there is a master file (file2):2    test13  test14         test12  test23 test24   test25 test2 ...I want to print all the lines from file2 when there is match between column 1 and column 2 from file 1. I want to keep the random formatting of file 2 preserved.What would be the best way to do this?
awk string match from 2 columns
shell;text processing;awk;grep