Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: One Liners

by Aristotle (Chancellor)
on Jan 12, 2005 at 13:13 UTC ( #421590=note: print w/ replies, xml ) Need Help??


in reply to Re: One Liners
in thread One Liners

perl -p "s/\bperl\b/Perl/g;" textfile.txt

You're missing an -e in there (and in the following example.)

Makeshifts last the longest.


Comment on Re^2: One Liners
Download Code
Re^3: One Liners
by davido (Archbishop) on Jan 12, 2005 at 17:40 UTC

    Thanks... Fixed.


    Dave

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2014-12-28 16:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (182 votes), past polls