Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: One Liners

by Aristotle (Chancellor)
on Jan 12, 2005 at 13:13 UTC ( [id://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.

Replies are listed 'Best First'.
Re^3: One Liners
by davido (Cardinal) on Jan 12, 2005 at 17:40 UTC

    Thanks... Fixed.


    Dave

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2024-03-19 11:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found