Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: sed isn't working within a perl script

by aitap (Deacon)
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 scrutinizing the Monastery: (7)
As of 2015-01-26 07:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My top resolution in 2015 is:

















    Results (186 votes), past polls