Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi, I have the following text file: friend|some text here|john|any friend|some other text here|mary|void friend|some text here but broken up into a few lines|simon|any friend|some more text|john|any Question: how do I use perl to rejoin line 3,4,5 so that it becomes on +e line? thanking you in advance, Vincent
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: joining lines
by jeffenstein (Hermit) on Apr 23, 2002 at 14:56 UTC | |
|
Re: joining lines
by darksym (Beadle) on Apr 23, 2002 at 14:56 UTC | |
|
Re: joining lines
by ehdonhon (Curate) on Apr 23, 2002 at 15:01 UTC | |
by Anonymous Monk on Apr 23, 2002 at 15:08 UTC | |
|
Re: joining lines
by dvergin (Monsignor) on Apr 24, 2002 at 06:01 UTC | |
|
Re: joining lines
by giulienk (Curate) on Apr 23, 2002 at 17:49 UTC |