Upper and lower case in shell
Hello, I wish to convert first charactr of a string to Upper case, adn the rest to lower case. The case of string may vary like this:
FOobAr
fooBAR
fOObaR
but the output shold be:
Foobar
I guess it can be done with "tr", but how exacly?
|