delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/10/11/16:50:09

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
Subject: Re: LC_COLLATE vs. egrep -- bug or (non-)feature?
References: <f5by5wrjpxo DOT fsf AT calexico DOT inf DOT ed DOT ac DOT uk> <4E949E1F DOT 5020403 AT redhat DOT com>
From: ht AT inf DOT ed DOT ac DOT uk (Henry S. Thompson)
Date: Tue, 11 Oct 2011 21:49:37 +0100
In-Reply-To: <4E949E1F.5020403@redhat.com> (Eric Blake's message of "Tue, 11 Oct 2011 13:50:55 -0600")
Message-ID: <f5bhb3fjlsu.fsf@calexico.inf.ed.ac.uk>
User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.21 (linux)
MIME-Version: 1.0
X-Edinburgh-Scanned: at nougat.ucs.ed.ac.uk with MIMEDefang 2.60, Sophie, Sophos Anti-Virus, Clam AntiVirus
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Eric Blake writes:

> On 10/11/2011 01:20 PM, Henry S. Thompson wrote:
>> Is this a feature, or a bug associated with the current ongoing
>> discussion about locales:
>
> (mis)-feature, and not necessarily a cygwin bug.
> [excellent explanation elided

Thanks very much for the clear and helpful explanation! 

> LANG=preferred LC_COLLATE=C
>
> and don't set LC_ALL.

Hmm.  Two remaining questions:

 1) By 'preferred', I presume you mean my preferred setting, e.g. en_GB.utf8
 2) _Where_ should I set those values?  As far as I can tell I'm not
    currently setting them at all. . .

Thanks again,

ht
-- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 651-1426, e-mail: ht AT inf DOT ed DOT ac DOT uk
                       URL: http://www.ltg.ed.ac.uk/~ht/
 [mail from me _always_ has a .sig like this -- mail without it is forged spam]

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019