in reply to Re: Deleting duplicate lines from filein thread Deleting duplicate lines from file
I like this minimalistic bit of code :-) ... You win!
perl -pe'$_{$_}++and$_=$,' [download]