bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tr '[:upper:]' '[:lower:]' -- misaligned construct


From: James Youngman
Subject: Re: tr '[:upper:]' '[:lower:]' -- misaligned construct
Date: Sat, 5 Jan 2008 10:51:54 +0000

On Jan 5, 2008 9:01 AM, Jim Meyering <address@hidden> wrote:
> > That machine is running in an ISO-8859 locale on openSUSE 11.0 FACTORY:

I can reproduce the problem on Debian (Lenny; version 2.7-3 of the
locales package with LANG=en_US.iso-8859-1).

> That locale definition has 3 more upper-case letters than lower-case,

I think it's the other way around; more lower than upper case letters
(there's a small error in the ternary conditional in the code you
posted).   In the Latin-1 locale I mention above, the difference is
only two characters:

Char 181 µ: lower case.  Equivalents: upper case equivalent is 181 µ: SAME
Char 223 ß: lower case.  Equivalents: upper case equivalent is 223 ß: SAME

James.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]