[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: grep 2.4.2 incorrect handling of '[x^]'
From: |
Alain Magloire |
Subject: |
Re: grep 2.4.2 incorrect handling of '[x^]' |
Date: |
Sun, 29 Jul 2001 14:18:32 -0400 (EDT) |
>
> On Sun, 29 Jul 2001 11:41:42 -0400 (EDT),
> "Alain Magloire" <address@hidden> wrote:
> ># grep --version
> >grep (GNU grep) 2.4.2
> >
> >Copyright 1988, 1992-1999, 2000 Free Software Foundation, Inc.
> >...
> ># /bin/echo 123 | /usr/local/src/grep/grep-2.4.2/src/grep '[x^]'
>
> Hmm, I still get this problem.
>
> # echo 123 | grep '[x^]'
> 123
>
> I get this with LANG=en_AU and with LANG=C. Linux 2.4.5-xfs,
> glibc-2.2.2-10 (Redhat 7.0).
Send a PR to Redhat.
In the meantime get 2.4.2 on ftp.gnu.org and compile
it yourself, it should take 5 minutes.
# wget -q ftp://ftp.gnu.org/gnu/grep/grep-2.4.2.tar.gz -O - |gzip -dc |tar xvf -
# cd grep-2.4.2
# ./configure
# make
# make check
Try this version.
I'm simply unable to reproduce what your seeing ...
but I'm also testing with an old GNU/Linux distribution
RedHat 5.1. Which means an older GLibC.
--
au revoir, alain
----
Aussi haut que l'on soit assis, on est toujours assis que sur son cul !!!