Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: sed isn't working within a perl script

by aitap (Curate)
on Oct 19, 2012 at 12:08 UTC ( [id://999915]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    say "sed -ie 's/\(.*\)/Number => \1/' test.txt";
    say qq{sed -ie 's/\(.*\)/Number => \1/' test.txt};
    say q{sed -ie 's/\(.*\)/Number => \1/' test.txt};
    ...
    sed -ie 's/(.*)/Number => /' test.txt
    sed -ie 's/(.*)/Number => /' test.txt
    sed -ie 's/\(.*\)/Number => \1/' test.txt
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2024-04-19 07:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found