[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem in gnu grep 2.4.2
From: |
Remco Wouts |
Subject: |
Re: problem in gnu grep 2.4.2 |
Date: |
24 Jan 2001 20:47:58 +0100 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) XEmacs/20.4 (Emerald) |
"Alain Magloire" <address@hidden> writes:
> Right, and that is what grep is doing:
>
> # uname -rs
> SunOS 5.8
> # /bin/echo "]name\nbname"| grep -E '[^]]name'
The problem is observed under linux as per redhat 7 distribution, it
was abit silly not to mention that. I grabbed the source and rebuilt
grep. The new version seems to work fine. So to recap:
$ /bin/echo -e "]name\n name" | grep '[^]]name'
]name
name
While a freshly built grep does:
$ /bin/echo -e "]name\n name" | src/grep '[^]]name'
name
As it should. I'm baffled. Tomorrowow I'll check RedHat's built
options. BTW I built with just './configure; make'
--
Remco Wouts address@hidden | Dept. of Biochemistry, Uppsala University
tel/fax:+46-18-4714642/511755 | PO Box 576, S-751 23 Uppsala, Sweden.
The day Microsoft makes something that doesn't suck, is
probably the day they start making vacuum cleaners. (usenet)