From owner-freebsd-current@FreeBSD.ORG Tue Jan 27 01:47:36 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A65716A4CE; Tue, 27 Jan 2004 01:47:36 -0800 (PST) Received: from mail.evip.pl (mail.evip.com.pl [212.244.157.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id A50D343D48; Tue, 27 Jan 2004 01:47:17 -0800 (PST) (envelope-from w@evip.pl) Received: from drwebc by mail.evip.pl with drweb-scanned (Exim 4.22) id 1AlPo7-0005eO-NT; Tue, 27 Jan 2004 10:46:55 +0100 Received: from w by mail.evip.pl with local (Exim 4.22) id 1AlPo7-0005eI-KU; Tue, 27 Jan 2004 10:46:55 +0100 Date: Tue, 27 Jan 2004 10:46:55 +0100 From: Wiktor Niesiobedzki To: Pav Lucistnik Message-ID: <20040127094655.GB95463@mail.evip.pl> References: <40162368.7080305@gmx.net> <20040127084153.GA60895@nagual.pp.ru> <40162A18.9080703@gmx.net> <20040127091130.GA61352@nagual.pp.ru> <40162D64.40902@gmx.net> <20040127092354.GA61750@nagual.pp.ru> <4016307E.7030300@gmx.net> <1075196305.66982.1.camel@pav.hide.vol.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1075196305.66982.1.camel@pav.hide.vol.cz> User-Agent: Mutt/1.4i Sender: Wiktor Niesiobedzki cc: current@FreeBSD.org Subject: Re: Weird locale troubles (?!) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 09:47:36 -0000 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