From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 8 03:06:50 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D290C106566B for ; Wed, 8 Jun 2011 03:06:50 +0000 (UTC) (envelope-from atom@smasher.org) Received: from atom.smasher.org (atom.smasher.org [69.55.237.145]) by mx1.freebsd.org (Postfix) with SMTP id 9AC278FC18 for ; Wed, 8 Jun 2011 03:06:50 +0000 (UTC) Received: (qmail 78634 invoked by uid 1000); 8 Jun 2011 03:06:50 -0000 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Date: Wed, 8 Jun 2011 15:06:46 +1200 (NZST) From: Atom Smasher In-Reply-To: <20110607230042.GB16994@stack.nl> Message-ID: <1106081505190.2239@smasher> MIME-Version: 1.0 OpenPGP: id=0xB88D52E4D9F57808; algo=1 (RSA); size=4096; url=http://atom.smasher.org/pgp.txt References: <20110606224105.GA92410@stack.nl> <1106080945020.2239@smasher> <20110607230042.GB16994@stack.nl> To: freebsd-hackers@freebsd.org X-POM: The Moon is Waxing Crescent (40% of Full) X-Hashcash: 1:20:1106080306:freebsd-hackers@freebsd.org::0SUWRzFDEIdHn3C+:000000 0000000000000000000000006iB6 X-Hashcash: 1:20:1106080306:freebsd-i18n@freebsd.org::HoAlcUVBQxC/+3Wx:000000000 0000000000000000000000004F0W Cc: freebsd-i18n@freebsd.org Subject: Re: tr A-Z a-z in locales other than C X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jun 2011 03:06:50 -0000 On Wed, 8 Jun 2011, Jilles Tjoelker wrote: >> maybe another option would be modifying tr to recognize other [new] >> environment variables... TR_LANG, TR_LC_ALL, TR_LC_CTYPE and >> TR_LC_COLLATE. done that way, things could be set in /etc/make.conf (or >> sys.mk), not need any patching, and not interfere with other uses of >> locale. > > That would be rather ugly. > > If tr a-z A-Z is supposed to be deceiving in some locales, then let it > remain so unconditionally. ================= it can still be as ugly as one wants it to be, and in some ports that might be fine. but this option would provide a very simple option to reign in how ugly it is. -- ...atom ________________________ http://atom.smasher.org/ 762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808 ------------------------------------------------- "The livestock sector is a major player [in climate change], responsible for 18% of greenhouse gas emissions measured in CO2 equivalent. This is a higher share than transport." -- Livestock's long shadow, 2006 UN report sponsored by WTO, EU, AS-AID, FAO, et al