Re: tr A-Z a-z

2004-05-09 Thread Christoph P. Kukulies
On Sat, May 08, 2004 at 04:20:21PM -0500, Jose Lima wrote: > I use: > > echo "$Z" | tr '[a-z' '[A-Z]' This would be a lower case to upper case and would expose the same problem. And a closing bracket is missing also. Don't know what the $Z should mean in your example. In my example echo Z serve

Re: tr A-Z a-z

2004-05-08 Thread Julien Gabel
>> 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. __

Re: tr A-Z a-z

2004-05-08 Thread Jose Lima
I use: echo "$Z" | tr '[a-z' '[A-Z]' Jose Lima On Fri, 2004-05-07 at 03:53, Christoph Kukulies wrote: > 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]" > > > > -- > Chris Christoph P. U. Ku

Re: tr A-Z a-z

2004-05-07 Thread Dan Nelson
In the last episode (May 07), Christoph P. Kukulies said: > On Fri, May 07, 2004 at 01:59:01AM -0700, Kris Kennaway wrote: > > On Fri, May 07, 2004 at 10:53:01AM +0200, Christoph Kukulies wrote: > > > Strange: I was used to do upper case lower case conversion always like this > > > and it suddenly

Re: tr A-Z a-z

2004-05-07 Thread Christoph P. Kukulies
On Fri, May 07, 2004 at 01:59:01AM -0700, Kris Kennaway wrote: > On Fri, May 07, 2004 at 10:53:01AM +0200, Christoph Kukulies wrote: > > 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]" > > ÿ

Re: tr A-Z a-z

2004-05-07 Thread Christoph P. Kukulies
On Fri, May 07, 2004 at 03:57:25AM -0500, [EMAIL PROTECTED] wrote: > On Fri, 2004-05-07 at 10:53:01 +0200, Christoph Kukulies proclaimed... > > > 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

Re: tr A-Z a-z

2004-05-07 Thread Kris Kennaway
On Fri, May 07, 2004 at 10:53:01AM +0200, Christoph Kukulies wrote: > 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]" > ÿ Something locale-related? Kris pgp0.pgp Description: PGP signature

Re: tr A-Z a-z

2004-05-07 Thread vxla
On Fri, 2004-05-07 at 10:53:01 +0200, Christoph Kukulies proclaimed... > 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]" Works fine for me. However, maybe this would help? echo Z | tr [:upper:]