thanks all for the responses, some great stuff and I like the hash approach as I think I can now use that for the second half of my script which will be a 3rd match to check and print only those keys that show up in another file.
again, much appreciated!