Hmmm... I'd better do some more reading on "grep" and "map".
In reply to Re^2: Comparison problem by emav in thread Comparison problem by emav