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: <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: User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.21 (linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 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 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