Good grief. Ok, well, if each file could contain the same mac address more than once, use a second hash to guarantee uniqueness per file. Or another approach would be to start with file one. Put all of its mac addresses into a hash, as keys. Then open file two. Delete any hash keys that aren't found in file two. Open file three. Delete any remaining hash keys that aren't found in file three. And so on... you get the idea. What's left at the end is your list of mac addresses that exist in all 30 files.
Dave
In reply to Re^3: Comparing files
by davido
in thread Comparing files
by dannyp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |