http://www.perlmonks.org?node_id=421590


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.