L
laredotornado
Hi,
I'm using Perl 5.8.8 on Mac 10.5.6. I have a text file with the
following content pattern ...
(newline)
line 1
line 2
line 3
(newline)
line 1
line 2
line 3
line 4
line 5
(new line)
line 1
line 2
What I would like to do is remove the first line immediately after any
new line (carriage return) and keep all the other lines. How can I do
this with perl?
Thanks, - Dave
I'm using Perl 5.8.8 on Mac 10.5.6. I have a text file with the
following content pattern ...
(newline)
line 1
line 2
line 3
(newline)
line 1
line 2
line 3
line 4
line 5
(new line)
line 1
line 2
What I would like to do is remove the first line immediately after any
new line (carriage return) and keep all the other lines. How can I do
this with perl?
Thanks, - Dave