in reply to remove duplicate lines from input file
Incidentally I was involved in an interesting discussion of this topic not long ago. Some interesting material in there, including internal design philosophy differences between Python and Perl, how to handle very large files, and the fact that Java won. :-(perl -ne 'print if 1 == ++$seen{$_}' file
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE (tilly) 1: remove duplicate lines from input file
by Anonymous Monk on Sep 23, 2000 at 07:47 UTC | |
by japhy (Canon) on Sep 23, 2000 at 07:55 UTC | |
by tilly (Archbishop) on Sep 23, 2000 at 11:27 UTC |