perl -e 'push(@_,$_)while<>;foreach(@_){if(!exists$l{$_}){print;$l{$_} +=0}}' <inputfile
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE (tilly) 1: remove duplicate lines from input file
by tilly (Archbishop) on Sep 08, 2000 at 15:12 UTC | |
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 |