Follow-up Comment #3, bug #18633 (project grep): > I've also tested LC_ALL-en_US.UTF-8 and this suffers from the > same problem.
Well, it's not really a problem, it's how it's supposed to work. > http://www.gnu.org/software/grep/doc/grep_8.html#IDX178 > "It matches any single character that sorts between the two > characters, inclusive, using the locale's collating sequence > and character set" Read on a bit: "Many locales sort characters in dictionary order, and in these locales `[a-d]' is typically not equivalent to `[abcd]'; it might be equivalent to `[aBbCcDd]', for example." If you do not like that ordering, set somewhere in your startup or login scripts 'export LC_COLLATE=POSIX'. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?18633> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
