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 served

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. Kukulies

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. ___ [EMAIL

tr A-Z a-z

2004-05-07 Thread Christoph Kukulies
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. Kukulies kuku_at_kukulies.org ___ [EMAIL PROTECTED] mailing list http

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

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 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-z] Works

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] ÿ Something

Re: tr A-Z a-z

2004-05-07 Thread Dan Nelson
work anymore: $ echo Z | tr [A-Z] [a-z] Something locale-related? locale LANG=en_US.ISO_8859-1 LC_COLLATE=en_US.ISO_8859-1 echo Z | tr A-Z a-z | od -x 000 0aff 002 From the tr manpage: c-cFor non-octal range endpoints represents the range