in reply to Read file line by line and check equal lines
perl -e '$_{ $_ }++ for (<>); print grep { $_{$_}==1 } keys %_;' <inpu +t >output [download]
-M
Free your mind