Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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 perusing the Monastery: (9)
As of 2016-08-30 14:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (418 votes). Check out past polls.