Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 May 2004 00:18:31 +0200 (CEST)
From:      "Julien Gabel" <jpeg@thilelli.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: tr A-Z a-z
Message-ID:  <49805.192.168.0.105.1084054711.squirrel@webmail.thilelli.net>
In-Reply-To: <1084051221.1088.1.camel@fusil.jlpimp.com>
References:  <200405070853.i478r1UM048075@www.kukulies.org> <1084051221.1088.1.camel@fusil.jlpimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>> Strange: I was used to do upper case lower case conversion always like
>> this and it suddenly doesn't work anymore:
>>
>> $ echo Z | tr "[A-Z]" "[a-z]"

You can use special classes in this case too:
 $ echo "Zz" | tr [:upper:] [:lower:]

-- 
-jpeg.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49805.192.168.0.105.1084054711.squirrel>