Perl: Removing duplicated entry between two files

A rip of from a ripp one liner Perl solution.

I have two files, with more or less duplicated entries in both. SOltuion:

cat textfile | perl -ne '$H{$_}++ or print'


Popular posts from this blog

Check SecStore KeyPhrase of Java Stack

Windows 2003 W2k3 Getting Current MTU Size

Python: thread.error: can't start new thread