LC_COLLATE vs. egrep -- bug or (non-)feature?

Henry S. Thompson ht@inf.ed.ac.uk
Tue Oct 11 19:20:00 GMT 2011


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@inf.ed.ac.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



More information about the Cygwin mailing list