Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: [Solved]Need to extract a particular block of lines between two patterns

by Cristoforo (Curate)
on Nov 11, 2017 at 02:53 UTC ( #1203161=note: print w/replies, xml ) Need Help??


in reply to Re^2: [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

Yes, it will skip the first block. It will exit the while loop (last if /^END$/) when it reaches the END for the second block.
  • Comment on Re^3: [Solved]Need to extract a particular block of lines between two patterns
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1203161]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2021-04-20 14:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?