M
mwthayer
Hi
I have searched the groups and haven't found exactly what I need. If
this is a duplicate, forgive me.
I need to compare to hashes. I want to know if the value to a certain
key from one hash is found as a value in another hash then print the
key from both hashes where the match.
Example:
Hash 1
Key.......Value
21A00001 Brown Fox
21A00002 Brown Fox
Hash 2
Key....Value
212121 Brown Fox
Result after the compare (a tab delimited file)
21A00001 {tab or \t} 212121
21A00002 {tab or \t} 212121
Grateful for any suggestions
I have searched the groups and haven't found exactly what I need. If
this is a duplicate, forgive me.
I need to compare to hashes. I want to know if the value to a certain
key from one hash is found as a value in another hash then print the
key from both hashes where the match.
Example:
Hash 1
Key.......Value
21A00001 Brown Fox
21A00002 Brown Fox
Hash 2
Key....Value
212121 Brown Fox
Result after the compare (a tab delimited file)
21A00001 {tab or \t} 212121
21A00002 {tab or \t} 212121
Grateful for any suggestions