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

Paul Davis paul at linuxaudiosystems.com
Fri Sep 26 10:53:21 UTC 2008


On Fri, 2008-09-26 at 11:47 +0100, Steve Harris wrote:
> Hi Julien,
> 
> People usually use tr for that:
> 
> $ echo foo | tr 'a-z' 'A-Z'
> FOO

i believe he meant capitalize as in "foo" -> "Foo" which is an order of
magnitude harder. i don't believe that sed can do it. perl probably can.






More information about the Linux-audio-dev mailing list