perl -ne 'print if (++$a{$_} == 1);' <oldfilename >newfilename
--- -DA
In reply to Removing duplicate lines from files (was 'Files')
by da
in thread Removing duplicate lines from files (was 'Files')
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |