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 making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2014-09-24 00:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (243 votes), past polls