good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Remove Duplicate Linesby rbc (Curate) |
on Sep 18, 2002 at 19:01 UTC ( [id://198964]=note: print w/replies, xml ) | Need Help?? |
If you are on a Unix system that has a sort command that supports the -u switch ( -u implies Unique ) you could do this I know that Solaris's sort has -u and Red Hats cygwin does not. I hope that helps :)
In Section
Seekers of Perl Wisdom
|
|