Your message dated Tue, 3 Dec 2013 11:36:15 +0100
with message-id <20131203103615.GA10316@holmon>
and subject line Closing: grep: character classes do not work with non-ASCII 
8-bit locale thanks
has caused the Debian Bug report #689410,
regarding grep: character classes do not work with non-ASCII 8-bit 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.)


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


character classes do not work with non-ASCII 8-bit locale.
Typescript is below. GNU awk works correctly.
\335 is an uppercased cyrillic letter.

   $ locale -a | grep ru_RU.cp1251
   ru_RU.cp1251
   $ printf '\335' | LC_CTYPE=ru_RU.cp1251 grep '[[:upper:]]' | wc -l
   0
   $ printf '\335' | LC_CTYPE=ru_RU.cp1251 gawk '/[[:upper:]]/' | wc -l
   1
   $

-- System Information:
Debian Release: 6.0.6
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-486
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages grep depends on:
ii  dpkg                      1.15.8.13      Debian package management system
ii  install-info              4.13a.dfsg.1-6 Manage installed documentation in 
ii  libc6                     2.11.3-4       Embedded GNU C Library: Shared lib

grep recommends no packages.

Versions of packages grep suggests:
ii  libpcre3                      8.02-1.1   Perl 5 Compatible Regular Expressi

-- no debconf information

--- End Message ---
--- Begin Message ---
Package: grep
Version: 2.15-2
Followup-For: Bug #689410

Hi,

This bug seems to be fixed, so I'm closing it:

$ printf '\335' | LC_CTYPE=ru_RU.cp1251 grep '[[:upper:]]' | wc -l
1
$ printf '\335' | LC_CTYPE=ru_RU.cp1251 gawk '/[[:upper:]]/' | wc -l
1

Regards,

Santiago

--- End Message ---

Reply via email to