Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Replace text - includes tilde sign?

by gube (Parson)
on Sep 21, 2007 at 11:29 UTC ( #640337=note: print w/ replies, xml ) Need Help??


in reply to Replace text - includes tilde sign?

Try this it will work

perl -i -pe 's#example.com/12.34.56.78#~example#g' *
Gubs


Comment on Re: Replace text - includes tilde sign?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (12)
As of 2015-07-30 15:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (273 votes), past polls