----- Original Message ----- From: "Santiago Ruano Rincón" <santi...@debian.org>
To: "Igor O. Ladygin" <a...@zabtrans.ru>; <624...@bugs.debian.org>
Sent: Thursday, April 28, 2011 5:18 PM
Subject: Re: Bug#624387: grep: Incorrect bracket expression parsing with
national locale

On 28/04/11 03:04, Igor O. Ladygin wrote:

Grep from Lenny work successfully:

$./grep -V
GNU grep 2.5.3

Copyright (C) 1988, 1992-2002, 2004, 2005  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There
is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

$echo Пример|./grep -qE "[Пп]ример"; echo $?
0

Hi,

Could you please try grep 2.7-2 from experimental? It solves some UTF
and brakets-related issues.

# apt-get -t experimental install grep
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
 grep
1 upgraded, 0 newly installed, 0 to remove and 61 not upgraded.
Need to get 336 kB of archives.
After this operation, 98.3 kB of additional disk space will be used.
Get:1 http://ftp.debian.org/debian/ experimental/main grep i386 2.7-2 [336 kB]
Fetched 336 kB in 7s (45.0 kB/s)
(Reading database ... 75653 files and directories currently installed.)
Preparing to replace grep 2.6.3-3 (using .../archives/grep_2.7-2_i386.deb) ...
Unpacking replacement grep ...
Processing triggers for man-db ...
Processing triggers for install-info ...
Setting up grep (2.7-2) ...
proxy:/home/assa# 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>.

# echo Пример|./grep -qE "[Пп]ример"; echo $?
0

Works successfully, thanks!

Sent by ASSA




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to