On Fri, 26 Sep 2008 12:11:52 +0200 (CEST) Julien Claassen <[EMAIL PROTECTED]> 
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.

the simplest trick i know of uses tr:

  echo word | tr a-z A-Z

the awk equivalent (?) is:

  echo word | gawk '{print toupper($0)}'


Markus

_______________________________________________
Linux-audio-dev mailing list
[email protected]
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev

Reply via email to