X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=AWL,BAYES_40,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: References: <4CF96F70 DOT 3090507 AT veritech DOT com> <4CF9BA08 DOT 8060703 AT redhat DOT com> <20101204150642 DOT GA26471 AT calimero DOT vinschen DOT de> Date: Sat, 4 Dec 2010 21:59:55 +0000 Message-ID: Subject: Re: Problem with Bash regex test case sensitivity From: Andy Koppe To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 4 December 2010 21:08, Lee wrote: > So... =C2=A0the 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