Bug 148453

Summary: Grep fails to match a space character in [:space:] in en_US.UTF-8 locale
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Archie Cobbs <archie.cobbs>
Component: BasesystemAssignee: Andreas Schwab <schwab>
Status: VERIFIED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: suse-beta
Version: Final   
Target Milestone: SUSE Linux 10.1   
Hardware: All   
OS: Other   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

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!