[PLUG] substitution question...
Don Buchholz
buchholz at easystreet.net
Mon Dec 8 22:14:07 UTC 2008
Eitan Tsur wrote:
> Anyone know how to convert the capitalized character after apostrophe(s) in
> a string to lowercase? (using s/// in sed, perl, etc...)
> _______________________________________________
Use tr(1), e.g.
$ tr A-Z a-z <in > out
Also, in Perl
tr/SEARCHLIST/REPLACEMENTLIST/
y/SEARCHLIST/REPLACEMENTLIST/
... see the perlop(1) man page for details ..
More information about the PLUG
mailing list