Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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

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 taking refuge in the Monastery: (6)
As of 2024-03-28 14:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found