sort -o file1 file1 sort -o file2 file2 join file1 file2 | awk '$2 == $4' [download]
In reply to Re: help with search and match by Thelonius in thread help with search and match by Anonymous Monk