Am Freitag, 27. Mai 2005 23.31 schrieb Eric Walker: > On Friday 27 May 2005 01:22 pm, John Doe wrote: > > Am Freitag, 27. Mai 2005 17.15 schrieb Eric Walker: > > > Can't you run uniq from the command prompt to get rid of the duplicate > > > lines? > > > > > > perlnewbie.. > > > > [...] > > > > Yes I can, > > > > $ cat marc21textfile | uniq > outputfile > > > > but the OP explicitly wanted a perl script and states > > > > > For now, I just want to remove adjacent duplicate fields. > > > > from which I concluded that he wants to elaborate the script further, > > > > and as a perlnewbie on a perl list I try to answer perl questions. > > > > thanks, > > joe > > Ok, > the perlnewbie tag is for me, not you. Seems like you got upset. sorry for > the misunderstanding.. > > perlnewbie....
Oups - I have to be sorry for my misunderstanding. Your solution is of course better for the problem "how to remove duplicate lines". sorry again, joe -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>