XP is just a number | |
PerlMonks |
Re: Remove Duplicate Linesby tstock (Curate) |
on Sep 18, 2002 at 19:01 UTC ( [id://198965]=note: print w/replies, xml ) | Need Help?? |
If this is a one time fix, you can use the unix commands 'sort' and 'uniq', like so:
'sort' sorts the entries in db.txt, uniq then cuts out duplicates and the the '>' redirects the output to a new file name instead of the screen (STDOUT). tstock
In Section
Seekers of Perl Wisdom
|
|