X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.4 required=5.0 tests=AWL,BAYES_50,RP_MATCHES_RCVD,TW_YG X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com Subject: LC_COLLATE vs. egrep -- bug or (non-)feature? From: ht AT inf DOT ed DOT ac DOT uk (Henry S. Thompson) Date: Tue, 11 Oct 2011 20:20:19 +0100 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 List-Id: 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 Is this a feature, or a bug associated with the current ongoing discussion about locales: > LC_ALL= egrep '^[a-b]l[dl]e.n$' /usr/share/dict/words aldern > LC_COLLATE= egrep '^[a-b]l[dl]e.n$' /usr/share/dict/words aldern Alleen Alleyn If it's a feature, how do I set LC_COLLATE w/o changing the other aspects of my locale? Relevant bits of cygcheck -s: 2651k 2011/08/05 C:\Cygwin\bin\cygwin1.dll DLL version: 1.7.10 DLL identifier: cygwin1 grep 2.6.3-1 OK 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