tariqahsan has asked for the wisdom of the Perl Monks concerning the following question:
123|abc
123|cde
234|efg
456|hij
I want to eliminate one of the duplicate values based on
the first column value
So, the output file should have the following lines -
123|abc
234|efg
456|hij
Any suggestions?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: how to remove duplicate based on the first column value
by arthas (Hermit) on Jun 10, 2003 at 15:03 UTC | |
by tariqahsan (Beadle) on Jun 10, 2003 at 19:53 UTC | |
|
Re: how to remove duplicate based on the first column value
by Enlil (Parson) on Jun 10, 2003 at 15:08 UTC | |
by EvdB (Deacon) on Jun 10, 2003 at 15:17 UTC | |
by revdiablo (Prior) on Jun 10, 2003 at 16:59 UTC | |
|
Re: how to remove duplicate based on the first column value
by cees (Curate) on Jun 10, 2003 at 15:55 UTC | |
|
Re: how to remove duplicate based on the first column value
by cbro (Pilgrim) on Jun 10, 2003 at 15:05 UTC | |
|
Re: how to remove duplicate based on the first column value
by perlguy (Deacon) on Jun 10, 2003 at 18:08 UTC |