Your message dated Sun, 18 Dec 2011 15:12:26 -0600
with message-id <[email protected]>
and subject line grep and non-C locales (Re: different grep behavior on x86 vs
amd64)
has caused the Debian Bug report #623241,
regarding different grep behavior on x86 vs amd64
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.)
--
623241: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=623241
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: grep
Version: 2.6.3-3
Severity: important
hi,
i notice grep behaving differently on x86 vs. amd64:
on x86, grep works correctly:
> raoul@raoul ~ $ echo '1303141571.M26770P15859.m01S=1884W=1934:2S' | egrep
> '[a-z]$'
^ no match because there is no [a-z] at the end of the line!
> raoul@raoul ~ $ egrep --version
> 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.
>
> raoul@raoul ~ $ uname -a
> Linux raoul.bhatia.at 2.6.32-5-vserver-amd64 #1 SMP Mon Mar 7 23:14:47 UTC
> 2011 x86_64 GNU/Linux
> raoul@raoul ~ $ cat /etc/debian_version
> 6.0.1
on amd64, grep does not correctly wrong:
> root@m01 ~ # echo '1303141571.M26770P15859.m01S=1884W=1934:2S' | egrep
> '[a-z]$'
> 1303141571.M26770P15859.m01S=1884W=1934:2S
^ this does not match the pattern!
> root@m01 ~ # egrep --version
> 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.
>
> root@m01 ~ # uname -a
> Linux m01 2.6.32-5-amd64 #1 SMP Sat Oct 30 14:18:21 UTC 2010 x86_64 GNU/Linux
> root@m01 ~ # cat /etc/debian_version
> 6.0.1
grep 2.5.3 on debian 5.0.8 (lenny) does not show this behavior:
> root@db01 ~ # echo '1303141571.M26770P15859.m01S=1884W=1934:2S' | egrep
> '[a-z]$'
> root@db01 ~ # egrep --version
> 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.
>
> root@db01 ~ # uname -a
> Linux db01.neuroninteractive.com 2.6.26-2-amd64 #1 SMP Thu Sep 16 15:56:38
> UTC 2010 x86_64 GNU/Linux
> root@db01 ~ # cat /etc/debian_version
> 5.0.8
cheers,
raoul
--
____________________________________________________________________
DI (FH) Raoul Bhatia M.Sc. email. [email protected]
Technischer Leiter
IPAX - Aloy Bhatia Hava OG web. http://www.ipax.at
Barawitzkagasse 10/2/2/11 email. [email protected]
1190 Wien tel. +43 1 3670030
FN 277995t HG Wien fax. +43 1 3670030 15
____________________________________________________________________
--- End Message ---
--- Begin Message ---
Version: 2.8-2
Raoul Bhatia [IPAX] wrote:
> egrep (GNU grep) 2.8 from wheezy package 2.8-2 works as expected.
Thanks for testing. I suppose the coloring bug you mentioned is a
different one, so please file it separately if you can still reproduce
it with current grep from squeeze or sid.
Ciao,
Jonathan
--- End Message ---