how to convert lower case to uppercase in a word in a line ?

Chuck Swiger cswiger at mac.com
Fri Sep 16 09:03:26 PDT 2005


Yavuz Maslak wrote:
> There is a word that consists lowercases. 
> How to change all of letters capital letters in stead of lowercase ?
> is there any script about that ?

Edit the file in emacs and hit Esc-U to upcase words?  Or perhaps something 
like this:

echo "hello" | tr '[:lower:]' '[:upper:]'

...?

-- 
-Chuck



More information about the freebsd-questions mailing list