Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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 examining the Monastery: (14)
As of 2014-07-31 12:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (248 votes), past polls