Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

RE: Replace across files (extreme newbie)

by mikfire (Deacon)
on May 23, 2000 at 22:45 UTC ( [id://14426]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    find . -type f | xargs perl -pi.bak -e 's/string x/string y/g'
    
  2. or download this
    find . -type f | xargs -n 255 perl -pi.bak -e 's/string x/string y/g'
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-25 10:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found