perl -ne 'print if !$saw{$_}++' perl -pe'$s{$_}++and$_=$,' [download]
In reply to Re: Deleting duplicate lines from file by blazar in thread Deleting duplicate lines from file by Win