in reply to
skipping lines when parsing a file
Range Operators
might help.
Comment on
Re: skipping lines when parsing a file
Replies are listed 'Best First'.
Re^2: skipping lines when parsing a file
by
lomSpace
(Scribe)
on Aug 20, 2009 at 17:17 UTC
Hi toolic!
This is a dynamic situation, so range operators won't do.
I want to remove the text starting at "COMMENT" and
just before the line that starts with FEATURES.
Read more...
(5 kB)
Then print from "FEATURES" until the end of the line.
LomSpace
[reply]
[d/l]
Re^3: skipping lines when parsing a file
by
toolic
(Bishop)
on Aug 20, 2009 at 18:08 UTC
Perhaps I do not understand your requirements. It would help if you were to also post your desired output. Here is an example using range operators:
Read more...
(5 kB)
This is the output:
Read more...
(1352 Bytes)
[reply]
[d/l]
[select]
In Section
Seekers of Perl Wisdom