Weird locale troubles (?!)

Pav Lucistnik pav at FreeBSD.org
Tue Jan 27 01:39:21 PST 2004


V út, 27. 01. 2004 v 10:33, Michael Nottebrock píše:
> Andrey Chernov wrote:
> 
> > On Tue, Jan 27, 2004 at 10:20:36AM +0100, Michael Nottebrock wrote:
> > 
> >>Does this mean that our locale is bogus or Linux'/glibc's is?
> > 
> > 
> > Our locale is right in that area. Don't know about Linux/glibc locale or tr
> 
> That actually wasn't a serious question. The output is OBVIOUSLY bogus - it 
> should be ROUTER, glibc's locale does the right thing (and ours breaks GNU tr 
> as well).

I asked on exactly this same "feature" few months again, and I was told
that it's illegal to abuse `tr a-z A-Z` to do uppercase conversion.
So just rewrote your script to use use awk toupper() ...

And yes, it's commonly abused feature. And yes, it's annoying. And no,
upstream authors are not gonna fix it.

-- 
Pav Lucistnik <pav at oook.cz>
              <pav at FreeBSD.org>

> Why do we need a film of "Lord of the Rings" when we have the book?
Because watching a cg enhanced Legolas fire a flaming arrow
into the heart of a warg is cool?
    - asdf at asdf.com in rec.games.roguelike.angband
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: Toto je =?iso-8859-2?Q?digit=E1ln=EC?=
	=?ISO-8859-1?Q?_podepsan=E1?= =?iso-8859-2?Q?_=E8=E1st?=
	=?ISO-8859-1?Q?_zpr=E1vy?=
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040127/5e85fb37/attachment-0001.bin


More information about the freebsd-current mailing list