On 04/11/2016 12:14 AM, Ondřej Cífka wrote:
> You're probably right about the locale. I'm using cs_CZ.UTF-8. With
> LC_ALL=C, both variants run faster and the difference is
> insignificant.
>
> With cs_CZ.UTF-8, on my machine, your test case takes 2.322s with -i
> and 0.464s without -i.
>
> I teste
> This is still a glibc bug, not a grep bug; it's just that we don't have a fix.
I finally got around to finding the correct glibc bug report for this
grep bug. Here it is:
https://sourceware.org/bugzilla/show_bug.cgi?id=11053
I added a comment to the glibc bug, saying that it causes grep Bug#22