On Fri, Sep 26, 2008 at 11:56 AM, Chris Cannam
<[EMAIL PROTECTED]> wrote:
> $ echo hello | perl -pe 's/(.*)/\u$1\e/'

I was forgetting there's also a function for this, you don't have to
use the rather opaque substitution syntax:

$ echo hello | perl -e 'print ucfirst <>'


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

Reply via email to