Bug 148453 - Grep fails to match a space character in [:space:] in en_US.UTF-8 locale
Summary: Grep fails to match a space character in [:space:] in en_US.UTF-8 locale
Status: VERIFIED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Final
Hardware: All Other
: P5 - None : Major
Target Milestone: SUSE Linux 10.1
Assignee: Andreas Schwab
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-06 18:15 UTC by Archie Cobbs
Modified: 2006-03-28 21:48 UTC (History)
1 user (show)

See Also:
Found By: Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Archie Cobbs 2006-02-06 18:15:06 UTC
$ uname -a
Linux zach 2.6.13-15-smp #1 SMP Tue Sep 13 14:56:15 UTC 2005 x86_64 x86_64 x86_64 GNU/Linux

The test case for this bug is very simple.
This should output "MATCH" but does not:

$ (export LANG=en_US.UTF-8;  echo '1 2 3' | grep -Eq '^([[:digit:]]+[[:space:]]+){2}' && echo MATCH )
$
Comment 1 Christian Boltz 2006-02-06 19:11:50 UTC
reproducable on 10.1 beta3 (running in chroot currently)  :-(

(LANG=de_DE@euro works as expected.)
Comment 2 Zach Garner 2006-02-06 19:16:05 UTC
Works correctly on SLES 9 with grep version grep-2.5.1-427.1.

Fails as listed on SuSE 10 with grep version grep-2.5.1a-5.
Comment 3 Andreas Schwab 2006-02-08 12:54:53 UTC
Fixed.
Comment 4 Christian Boltz 2006-03-28 21:48:49 UTC
works in 10.1 beta8 (chrooted again)

Thanks!