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

Jens M Andreasen jens.andreasen at comhem.se
Fri Sep 26 22:26:29 UTC 2008


On Sat, 2008-09-27 at 00:03 +0200, Wolfgang Woehl wrote:
> Oh my god :)
> This one is ugly too but, while we're at it, what the hell:
> echo "monday" | cut -b -3 | sed 's/\(^.\)/\U\1/'

While you are at it, could you explain that last sentence once more for
those in the audience that did not get it the first time?


> 
> Wolfgang
> _______________________________________________
> 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