Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: multiline inplace edit

by Anonymous Monk
on Aug 07, 2003 at 07:32 UTC ( #281779=note: print w/replies, xml ) Need Help??


in reply to multiline inplace edit

I usually do this and I get the same result without a script.

perl -i -0pe 's/foo/bar/g' file1 file2

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2020-07-08 05:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?