Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jun 2011 04:24:43 +0400
From:      Andrey Chernov <ache@FreeBSD.ORG>
To:        Jilles Tjoelker <jilles@stack.nl>
Cc:        freebsd-hackers@FreeBSD.ORG, freebsd-i18n@FreeBSD.ORG
Subject:   Re: tr A-Z a-z in locales other than C
Message-ID:  <20110607002442.GA89483@vniz.net>
In-Reply-To: <20110606224105.GA92410@stack.nl>
References:  <20110606224105.GA92410@stack.nl>

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

-- 
http://ache.vniz.net/



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