in reply to Detecting duplicate entries
Just in case you didn't know, under Unix :
cat file.txt | sort | uniq
will give you the content of your file file.txt with all duplicates deleted (and sorted by the way...)
UPDATE : Once again I was too long typing, ignore this post as zigster gave this answer faster than me...
cat file.txt | sort | uniq
will give you the content of your file file.txt with all duplicates deleted (and sorted by the way...)
UPDATE : Once again I was too long typing, ignore this post as zigster gave this answer faster than me...
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Detecting duplicate entries
by merlyn (Sage) on Mar 01, 2001 at 22:08 UTC | |
by turnstep (Parson) on Mar 01, 2001 at 22:13 UTC | |
Re: Re: Detecting duplicate entries
by arhuman (Vicar) on Mar 01, 2001 at 22:15 UTC |
In Section
Seekers of Perl Wisdom