Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Answer: How can I match a multi-line regexp?

by I0 (Priest)
on May 30, 2002 at 04:47 UTC ( #170308=note: print w/ replies, xml ) Need Help??

perl -0777pi.bak -e 's/line1\nline2/new content/' files ..

UPDATE: why is there no "in reply to Answer: How can I match a multi-line regexp?" link


Comment on Re: Answer: How can I match a multi-line regexp?
Download Code
Re: Re: Answer: How can I match a multi-line regexp?
by blakem (Monsignor) on May 30, 2002 at 18:26 UTC
    In response to the update...

    Did the submission process go smoothly for this node? Over the past few weeks, replies to Q&A answers have been evoking "Permission Denied" errors upon submission. The end result has been a pile of empty "Re: Answer:" nodes. Perhaps the missing "in reply to" link is related.

    -Blake

      I did get a "Permission Denied" error upon submission, and the result was an empty node.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2015-07-05 04:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls