Problem with Bash regex test case sensitivity

Andy Koppe andy.koppe@gmail.com
Sat Dec 4 22:00:00 GMT 2010


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



More information about the Cygwin mailing list