Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

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

by jeffa (Bishop)
on Jul 28, 2001 at 20:39 UTC ( #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
Node Status?
node history
Node Type: note [id://100566]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (12)
As of 2017-03-23 10:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (285 votes). Check out past polls.