bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#16911: [PATCH] grep: fix bugs with -i and titlecase


From: Paul Eggert
Subject: bug#16911: [PATCH] grep: fix bugs with -i and titlecase
Date: Sun, 02 Mar 2014 23:27:25 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

[I've reopened 16911 since the bug's not fixed on OS X.]

Here's my guess. In glibc's en_US locale, 'Lj' is considered to be both uppercase and lowercase; but in OS X's en_US locale, it's considered to be neither uppercase nor lowercase. If so, the attached gnulib patch should fix the problem (though I can't easily test this). Could you please give it a try?

By the way, I'd like to remove the need for grep's local differences from the glibc regex code. I assume it's there only to pacify GCC's warnings flags, and we can do that with pragmas in gnulib. One fix at a time, though.

Attachment: regex-osx.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]