Don't use tr///. Use s/// with a /e modifier and uc().
perl -le '$_="cap this. not this."; s/([^.]*)/uc $1/e; print'
-sauoq "My two cents aren't worth a dime.";
In reply to Re: TRing part of a line
by sauoq
in thread TRing part of a line
by curtisb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |