Bug#214107: locales: en_US.UTF-8 treats [ as a space char
Package: locales
Version: 2.3.2-8
Severity: normal
Tags: sid
See the following transcript:
elho@stranger:~$ echo '[' | LANG=C egrep '^[^[:space:]]+$'
[
elho@stranger:~$ echo '[' | LANG=en_US.UTF-8 egrep '^[^[:space:]]+$'
elho@stranger:~$ echo '[' | LANG=en_US.UTF-8 egrep '^[^ ]+$'
[
elho@stranger:~$ echo '[' | LANG=en_GB.UTF-8 egrep '^[^[:space:]]+$'
[
elho@stranger:~$
elmar
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux stranger 2.4.21-grsecurity-1.9.10-evms-2.1.0 #1 Wed Jul 2 17:30:13 CEST 2003 i686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8
Versions of packages locales depends on:
ii debconf 1.3.14 Debian configuration management sy
ii libc6 [glibc-2.3.2-8] 2.3.2-8 GNU C Library: Shared libraries an
-- debconf information:
* locales/default_environment_locale: en_US
* locales/locales_to_be_generated: de_DE.UTF-8 UTF-8, de_DE.UTF-8@euro UTF-8, de_DE@euro ISO-8859-15, en_US ISO-8859-1, en_US.ISO-8859-15 ISO-8859-15, en_US.UTF-8 UTF-8
--
.'"`. /"\
| :' : Elmar Hoffmann <elho@elho.net> ASCII Ribbon Campaign \ /
`. `' PGP key available via pgp.net against HTML email X
`- & vCards / \
Reply to: