in reply to Re: [Solved]Need to extract a particular block of lines between two patterns
in thread [Solved]Need to extract a particular block of lines between two patterns
Hi Runrig,
Thank you so much for the clear explanation! It works perfect on my side. Out of curiosity, I also modified the code to print out the $status each line of the matched patterns - print "$status\t$count\t$_" if $count == 2; And I got the output results as:
1 2 START 2 2 lines to be extracted 3E0 2 END
Do you by any chance know why the third line is 3E0 and what does that stand for? Thank you in advance!
In Section
Seekers of Perl Wisdom