Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: command line perl command to get between lines with non greedy match

by AnomalousMonk (Bishop)
on Jan 17, 2020 at 22:10 UTC ( #11111554=note: print w/replies, xml ) Need Help??


in reply to command line perl command to get between lines with non greedy match

Input:

TEXT6 PATTERN3 SOME INFO
Output:
TEXT6 PATTERN3 SOME INFO
Is it true that your input has  TEXT6 and the terminating  PATTERN3 string on the same line, and that the output should be reformatted so that they are on separate lines separated by a blank line? (BTW: Thanks for editing your post, but you left no citation of any change (update: please see How do I change/delete my post?).)


Give a man a fish:  <%-{-{-{-<

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2020-02-29 04:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (128 votes). Check out past polls.

    Notices?