tr A-Z a-z in locales other than C
ache at FreeBSD.ORG
Tue Jun 7 00:37:31 UTC 2011
On Tue, Jun 07, 2011 at 12:41:05AM +0200, Jilles Tjoelker wrote:
> There is a related issue with ranges in regular expressions, glob and
> fnmatch (likewise unspecified by POSIX outside the POSIX locale), but
> this is less likely to cause problems.
You care about ports, but suggested change is americano-centrism which
kills tr usage for national language documents due to impossibility to
specify whole national alphabet easily, just by two letters.
Moreover, having differently treated regex ranges in tr vs other places
you mention will produce additional chaos.
Back to the ports: it is not hard to run _any_ port's make or configure
with LANG=C directly by the ports Mk system to eliminate that problem.
More information about the freebsd-hackers