Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 making s'mores by the fire in the courtyard of the Monastery: (16)
As of 2014-09-22 20:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (200 votes), past polls