On 29/04/11 02:50, Igor O. Ladygin wrote: > > Sorry, I wrongly have tested grep from Lenny... grep 2.7-2 too > does not work: > > grep -V grep (GNU grep) 2.7 Copyright (C) 2010 Free Software > Foundation, Inc. License GPLv3+: GNU GPL version 3 or later > <http://gnu.org/licenses/gpl.html>. This is free software: you are > free to change and redistribute it. There is NO WARRANTY, to the > extent permitted by law. > > Written by Mike Haertel and others, see > <http://git.sv.gnu.org/cgit/grep.git/tree/AUTHORS>. > > proxy:/home/assa# echo Пример|grep -qE "[Пп]ример"; echo $? 1 > > :( > > Sent by ASSA
Igor, Could you try upgrading libc6, please? I've installed ru_RU.KOI8-R and I got 0 with both grep versions, 2.6.3 and 2.7 santiago@nomada:~$ grep -V | grep grep GNU grep 2.6.3 santiago@nomada:~$ LC_ALL=ru_RU.KOI8-R echo Пример|grep -qE "[Пп]ример"; echo $? 0 santiago@nomada:~$ grep -V | grep grep grep (GNU grep) 2.7 Written by Mike Haertel and others, see <http://git.sv.gnu.org/cgit/grep.git/tree/AUTHORS>. santiago@nomada:~$ LC_ALL=ru_RU.KOI8-R echo Пример|grep -qE "[Пп]ример"; echo $? 0 I'm using libc6 2.11.2-11. Cheers, Santiago -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org