Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Find and Replace

by amedico (Sexton)
on Mar 30, 2010 at 04:28 UTC ( [id://831758]=note: print w/replies, xml ) Need Help??


in reply to Find and Replace

FYI, Perl already has all the necessary scaffolding in place to do this as a command-line one-liner:
perl -ibak -pe 's/cps\*\*\*/nat***/g' filename

Replies are listed 'Best First'.
Re^2: Find and Replace
by planetscape (Chancellor) on Mar 30, 2010 at 22:05 UTC

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (5)
As of 2024-04-23 18:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found