Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jun 2011 15:06:46 +1200 (NZST)
From:      Atom Smasher <atom@smasher.org>
To:        freebsd-hackers@freebsd.org
Cc:        freebsd-i18n@freebsd.org
Subject:   Re: tr A-Z a-z in locales other than C
Message-ID:  <1106081505190.2239@smasher>
In-Reply-To: <20110607230042.GB16994@stack.nl>
References:  <20110606224105.GA92410@stack.nl> <1106080945020.2239@smasher> <20110607230042.GB16994@stack.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1106081505190.2239>