Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

(jeffa) Re: Can you teach a new dog an old trick?

by jeffa (Bishop)
on Jul 28, 2001 at 20:39 UTC ( [id://100566]=note: print w/replies, xml ) Need Help??


in reply to Can you teach a new dog an old trick?

perl -i.bak -pe 's/string1/string2/g' *.htm
This changes all occurrences of the literal string, 'string1' with 'string2' in all .htm files and makes backups at the same time.

jeffa

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-24 19:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found