Having two files written in the form of associative array (key=value) like:
file A:
banana=yellow
kiwi=green
tomato=red
file B:
banana=dislike
tomato=like
pear=like
I would like to know the best approach (in term of speed) to compare their keys:
A against B:
kiwi=green
B against A
pear=like
bidirectional
kiwi=green
pear=like
I would prefer not to use loops as those files can be huge.
B against A
A against B
bidirectional
all not tested, let me know if it doesn’t work.