in reply to Data Matching Challenge

expo:

Yet another way to do it:

You might want to sort both files on the key of interest. Then you can scan through the files side-by-side and print the appropriate items--just like a merge sort.

I recently responded to a similar question which you might want to look at if you're interested in this method--it has an example program in it that could easily be modified to handle your problem.

--roboticus

Replies are listed 'Best First'.
Re^2: Data Matching Challenge
by expo (Initiate) on Feb 03, 2007 at 14:44 UTC
    Thanks Roboticus, I will take a look!