Hi,

There is a regression in grep v2.6 in non-utf8 locales handling:

$ echo f |env -i grep '[a-z]'
f
$ echo f |env -i LANG=ru_RU.UTF-8 grep '[a-z]'
f
$ echo f |env -i LANG=ru_RU.KOI8-R grep '[a-z]'
$ echo f |env -i LANG=ru_RU.KOI8-R sed -n '/[a-z]/p'
f

As you see, grep in ru_RU.KOI8-R locale doesn't grep.


-- 
ldv

Attachment: pgplz1V6yI8c9.pgp
Description: PGP signature

Reply via email to