Your message dated Thu, 14 Jul 2011 00:17:34 +0000
with message-id <[email protected]>
and subject line Bug#624387: fixed in grep 2.9-1
has caused the Debian Bug report #624387,
regarding grep: Incorrect bracket expression parsing with national locale
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
624387: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=624387
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: grep
Version: 2.6.3-3
Severity: Normal

I am facing a problem while using Russian locale with grep:

$locale
LANG=ru_RU.KOI8-R
LC_CTYPE=ru_RU.KOI8-R
LC_NUMERIC="ru_RU.KOI8-R"
LC_TIME="ru_RU.KOI8-R"
LC_COLLATE=ru_RU.KOI8-R
LC_MONETARY="ru_RU.KOI8-R"
LC_MESSAGES="ru_RU.KOI8-R"
LC_PAPER="ru_RU.KOI8-R"
LC_NAME="ru_RU.KOI8-R"
LC_ADDRESS="ru_RU.KOI8-R"
LC_TELEPHONE="ru_RU.KOI8-R"
LC_MEASUREMENT="ru_RU.KOI8-R"
LC_IDENTIFICATION="ru_RU.KOI8-R"
LC_ALL=

$ locale -a
C
POSIX
ru_RU.koi8r
russian

$ls -la /usr/share/i18n/locales/ru_RU
-rw-r--r-- 1 root root 5438 Jan 24 05:25 /usr/share/i18n/locales/ru_RU

$grep -V
GNU grep 2.6.3

Copyright (C) 2009 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.

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

$echo Sример|grep -qE "[Ss]ример"; echo $?
0

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

The problem grep with KOI8-R is confirmed by other users, but with UTF-8 no problems. I am using:

$uname -a
Linux proxy 2.6.32-5-686 #1 SMP Tue Mar 8 21:36:00 UTC 2011 i686 GNU/Linux

$dpkg -s libc6 | grep ^Version
Version: 2.11.2-10

Sent by ASSA



--- End Message ---
--- Begin Message ---
Source: grep
Source-Version: 2.9-1

We believe that the bug you reported is fixed in the latest version of
grep, which is due to be installed in the Debian FTP archive:

grep_2.9-1.debian.tar.gz
  to main/g/grep/grep_2.9-1.debian.tar.gz
grep_2.9-1.dsc
  to main/g/grep/grep_2.9-1.dsc
grep_2.9-1_i386.deb
  to main/g/grep/grep_2.9-1_i386.deb
grep_2.9.orig.tar.gz
  to main/g/grep/grep_2.9.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Santiago Ruano Rincón <[email protected]> (supplier of updated grep package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 13 Jul 2011 20:02:15 -0400
Source: grep
Binary: grep
Architecture: source i386
Version: 2.9-1
Distribution: unstable
Urgency: low
Maintainer: Anibal Monsalve Salazar <[email protected]>
Changed-By: Santiago Ruano Rincón <[email protected]>
Description: 
 grep       - GNU grep, egrep and fgrep
Closes: 76011 624387
Changes: 
 grep (2.9-1) unstable; urgency=low
 .
   * 60-76011-main.c.patch: `grep -lc' does not show files with no occurrences.
     Thanks to Peter Samuelson. (Closes: #76011)
   * New upstream release.
     - Fixes locales and brackets-related bug (Closes: #624387)
   * Updating 80-587930-man-ere-reference.patch to add changes in info page
Checksums-Sha1: 
 f45998176b0d2936375d1d44ce1d20a9d4ca079a 1216 grep_2.9-1.dsc
 910ccb63f7436349c0bc6ae60f916a8cf938fcb8 1790291 grep_2.9.orig.tar.gz
 bbb77fdba15fe64ed4452d77e8852a7785b2220e 14119 grep_2.9-1.debian.tar.gz
 a11c8785928534b113cbc008e4e70be97a44b127 384620 grep_2.9-1_i386.deb
Checksums-Sha256: 
 40465273af0e40449609a66c0e2d88cd00f614cfe2d8a8f0045f2418a74f9617 1216 
grep_2.9-1.dsc
 e9118eac72ecc71191725a7566361ab7643edfd3364869a47b78dc934a357970 1790291 
grep_2.9.orig.tar.gz
 8d12345d77dbf8aac84c26618f07285c18a509dd084c9cdcf19fefb96e848320 14119 
grep_2.9-1.debian.tar.gz
 f7b731a26dc39a92470aa98fd50a1bb29d2d9ae5f820bed062f0dfc5a7e7d8b0 384620 
grep_2.9-1_i386.deb
Files: 
 af808562fbe907690f069481a76fc978 1216 utils required grep_2.9-1.dsc
 03e3451a38b0d615cb113cbeaf252dc0 1790291 utils required grep_2.9.orig.tar.gz
 5fd4f1530d0e28783c8be05b2e0ce952 14119 utils required grep_2.9-1.debian.tar.gz
 9ca17abbeef61c10f78b9b212fe5b8ce 384620 utils required grep_2.9-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk4eM90ACgkQQUuEI2/szeA1lQCfVO8fUpLHXCrkk+hgCxc3OtRL
YD4AnRAXeZvbxYX5rDYbf/dl2V+s1+Ck
=Dlkf
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to