|
|
| laziness, impatience, and hubris | |
| PerlMonks |
Re: Removing Duplicate Lines from a Fileby amphiplex (Monk) |
| on Jul 17, 2002 at 11:44 UTC ( [id://182469]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Hi ! The uniq command expects sorted input, so you should do sort file | uniq, or, better: sort -u file as to how to use DamnDirtyApes answer in your script:
---- amphiplex
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||