View previous topic :: View next topic |
Author |
Message |
dohellwithmf Beginner

Joined: 12 Jul 2007 Posts: 55 Topics: 23
|
Posted: Fri Mar 07, 2008 9:05 am Post subject: removing duplicate records from a file |
|
|
Hi,
My requirement is to remove all duplicate records from the file. For instance my file is:
P1 abc
P1 abc
P1 abc
P2 abc
P3 abc
P4 abc
P4 abc
P5 abc
P6 abc
I want output file as
P2 abc
P3 abc
P5 abc
P6 abc
in this case SUM FIELDS=NONE won't work. Is there any other trick in SORT utility to do this.
Please help me !!!
TIA, MKG |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
dohellwithmf Beginner

Joined: 12 Jul 2007 Posts: 55 Topics: 23
|
Posted: Fri Mar 07, 2008 11:11 am Post subject: |
|
|
Thanks anyways.....!!! |
|
Back to top |
|
 |
|
|