Beefy Boxes and Bandwidth Generously Provided by pair Networks BBQ
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: sed isn't working within a perl script

by aitap (Chaplain)
on Oct 19, 2012 at 12:08 UTC ( #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
Node Status?
node history
Node Type: note [id://999915]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (14)
As of 2014-04-16 14:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (431 votes), past polls