Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Delete duplicate data in fileby pg (Canon) |
on Nov 21, 2005 at 04:37 UTC ( [id://510361]=note: print w/replies, xml ) | Need Help?? |
It looks like your rows are sorted by timestamps (I will assume this for the rest of this post), so if there are duplicates, they will be next to each other (could be more than 2 rows). All what you need to do is (the algorithm):
The perl code would be close to this:
This prints:
In Section
Seekers of Perl Wisdom
|
|