in reply to Removing duplicates from list
Perl is a fantastic language for writing one-liners, scripts, and full-on applications, but the shell and common shell utilities are incredily useful, too.perl my_script.pl | uniq
Correction:
perl my_script.pl | sort | uniq
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Removing duplicates from list
by sgifford (Prior) on Oct 14, 2003 at 04:08 UTC |