Re: removing duplicates
- From: rob.dixon@xxxxxxx (Rob Dixon)
- Date: Tue, 29 Apr 2008 16:17:12 +0100
obdulio santana wrote:
May be this helps
perl -lne "print if ++$D{$_} == 1" address.txt
You may prefer the cuteness of
perl -lne "print unless $D{$_}++" address.txt
.
- Follow-Ups:
- Re: removing duplicates
- From: John W. Krahn
- Re: removing duplicates
- From: Rob Dixon
- Re: removing duplicates
- Prev by Date: Formatting output after search and replace
- Next by Date: Re: removing duplicates
- Previous by thread: Re: removing duplicates
- Next by thread: Re: removing duplicates
- Index(es):