Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

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

Replies are listed 'Best First'.
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.


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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://170308]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2018-02-18 09:52 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (253 votes). Check out past polls.