Is there a builtin way in KornShell to capitalize a word, e.g. korn -> Korn? A Bash 4 example to clarify:
str='korn'
echo "${str^}"
If there is not a bultin way to do this in KornShell, what is the most concise and efficient way to write a function that will do it?

M-c(typically,Alt-c) at the beginning of the word. No idea about ksh though. – jw013 Jul 16 '12 at 15:04str='korn'; echo "${str^}"inbash. But after @jw013's comment I am not so sure. – manatwork Jul 16 '12 at 15:08