This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Problem with Bash regex test case sensitivity
On 4 December 2010 21:08, Lee wrote:
> So... Âthe reason for setting LANG is a shorthand method of setting
> all the LC_xxx environment variables?
Yes. Setting LC_ALL does that too, but the difference between LC_ALL
and LANG is that LC_ALL takes precedence over the specific LC_xxx
variables, whereas LANG does not. Hence, LANG allows you to set all
locale categories while still allowing specific ones such as
LC_COLLATE to be overridden. (Perhaps things would be a bit clearer if
LANG had been called LC_DEFAULT or some such.)
Andy
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple