[LAD] [ot] capitalising words in a shell-script

Jens M Andreasen jens.andreasen at comhem.se
Fri Sep 26 23:07:20 UTC 2008


Thankyou!

> sed 's/\(^.\)/\U\1/'
> >

> ^. is the 1st char, put into () (protected with \) to store in \1 
> which gets uppercased with \U.

You never mentioned the forward slash in our tent camp. Is i it so that
everybody else - that is important, knows the meaning of s/junk/gold ?




More information about the Linux-audio-dev mailing list