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

Steve Harris steve at plugin.org.uk
Fri Sep 26 10:47:00 UTC 2008


Hi Julien,

People usually use tr for that:

$ echo foo | tr 'a-z' 'A-Z'
FOO

- Steve

On 26 Sep 2008, at 11:11, Julien Claassen wrote:

> Hello there!
>   Is there a nice and simple awk/sed trick to just capitalise a  
> word? I didn't
> come up with one so far. I could do it by hand, it's a known set of  
> words, but
> it would be nicer with a real word-independent mechanism.
>   Kindest regards
>          Julien
>
> --------
> Music was my first love and it will be my last (John Miles)
>
> ======== FIND MY WEB-PROJECT AT: ========
> http://ltsb.sourceforge.net
> the Linux TextBased Studio guide
> ======= AND MY PERSONAL PAGES AT: =======
> http://www.juliencoder.de
> _______________________________________________
> Linux-audio-dev mailing list
> Linux-audio-dev at lists.linuxaudio.org
> http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev




More information about the Linux-audio-dev mailing list