FS#14877 - [grep] -i does not work for non-latin characters
Attached to Project:
Arch Linux
Opened by serge (xchllataa) - Saturday, 30 May 2009, 11:10 GMT
Last edited by Allan McRae (Allan) - Wednesday, 17 June 2009, 15:17 GMT
Opened by serge (xchllataa) - Saturday, 30 May 2009, 11:10 GMT
Last edited by Allan McRae (Allan) - Wednesday, 17 June 2009, 15:17 GMT
|
Details
Description:
grep does not properly ignore case of non-latin characters. Additional info: * grep 2.5.4-1 * my locale is ru_RU.UTF-8 Steps to reproduce: /tmp $ cat txt АБВ абв /tmp $ grep АБВ txt АБВ /tmp $ grep абв txt абв /tmp $ grep -i АБВ txt абв /tmp $ grep -i абв txt абв |
This task depends upon
Closed by Allan McRae (Allan)
Wednesday, 17 June 2009, 15:17 GMT
Reason for closing: Fixed
Additional comments about closing: grep-2.5.4-2
Wednesday, 17 June 2009, 15:17 GMT
Reason for closing: Fixed
Additional comments about closing: grep-2.5.4-2
http://lists.gnu.org/mailman/listinfo/bug-grep
/tmp $ /bin/grep -i абв txt
абв
/tmp $ /tmp/grep/bin/grep -i абв txt
АБВ
абв
/tmp $ /tmp/grep/bin/grep --version
GNU grep 2.5.4
FS#7141and links therein). The additional patches used by Fedora and Debian do not seem to help either.In order to resolve this bug it is needed:
65-dfa-optional.patch
66-match_icase.patch
explicit --without-included-regex option
Please note that without explicit --without-included-regex option these patches don't work although the option supposed to be default. It might be a bug in the configure script.