tr A-Z a-z in locales other than C
Atom Smasher
atom at smasher.org
Wed Jun 8 03:06:50 UTC 2011
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
More information about the freebsd-hackers
mailing list