Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Parsing each file of a directory to change once string instance to another

by rah (Monk)
on Mar 21, 2002 at 03:56 UTC ( [id://153210]=note: print w/replies, xml ) Need Help??


in reply to Parsing each file of a directory to change once string instance to another

How about a one-liner?
perl -p -i -e 's %foo\-fuu\.net%fuuonline\.com%g' /home/onyx2/www/*.sh +tml
  • Comment on Re: Parsing each file of a directory to change once string instance to another
  • Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2024-11-12 10:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    chatterbot is...






    Results (39 votes). Check out past polls.