Afficher un message
Vieux 22/08/2006, 23h59   #5
William Park
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: first letter of the word in CAPS

aarcee <4mystudies@gmail.com> wrote:
> Hello all ,
>
> I need to display a word with the first character in CAPS .
>
> that is , split then the display should be Split


a='split'
echo ${a|.capitalize}

Ref:
http://home.eol.ca/~parkw/index.html...eter_expansion

--
William Park <opengeometry@yahoo.ca>, Toronto, Canada
ThinFlash: Linux thin-client on USB key (flash) drive
http://home.eol.ca/~parkw/thinflash.html
BashDiff: Super Bash shell
http://freshmeat.net/projects/bashdiff/
  Réponse avec citation
 
Page generated in 0,64506 seconds with 9 queries