Re: Weird locale troubles (?!)

From: Wiktor Niesiobedzki <freebsd-lists_at_w.evip.pl>
Date: Tue, 27 Jan 2004 10:46:55 +0100
On Tue, Jan 27, 2004 at 10:38:25AM +0100, Pav Lucistnik wrote:
> 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() ...
Why not `tr [:lower:] [:upper:]`?


Wiktor Niesiobedzki
Received on Tue Jan 27 2004 - 00:47:36 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:40 UTC