Have a look at the Perl Power Tool (PPT) project's implementation of the UNIX uniq command.
You'll need to sort your data before passing it through Tomte's solution or uniq.
If the information in this post is inaccurate, or just plain wrong, don't just downvote - please post explaining what's wrong.
That way everyone learns.
In reply to Re: Removing repeated lines from file
by BazB
in thread Removing repeated lines from file
by matth
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |