Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2015-05-03 23:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (79 votes), past polls