bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-grep] Re: grep


From: flavio
Subject: [bug-grep] Re: grep
Date: Tue, 28 Dec 2004 18:12:42 +0100 (CET)
User-agent: SquirrelMail/1.4.2

Ciao,

   I eventually decided to stick to 2.5.1a.

I tried to compile in both modes (i.e. with the included regex and
without) and all is fine, even if I've seen that the old Spencer test #55
has disappeared and the Bond test has been modified to cope with the libc
limitation.

Regards,

   Flavio Poletti.

> Hello,
>    thank you for your bug report.
>
> A side note: the grep bug-address has changed to address@hidden,
> so please move the discussion (if any) there.  (Reply-To field set.)
>
> On Tue, Dec 28, 2004 at 01:10:21PM +0100, address@hidden wrote:
>>    I've something weird with grep test suite.
>
> in short, the test suite is in a bad shape.
> But the grep program itself should work correctly.
>
> In detail:
>
>> Spencer test #55 fails (exit code is 2 instead of 1)
>
> Correct result would be exit code 2, but the test suite requires 1.
>
>> I thought it was an error in the test, but I tried it under cygwin:
>> grep version: 2.5
>> Spencer test #55 passes (exit code is 1, as expected)
>
> The problem is that the regex code distributed with grep has a bug
> which matches the bug in the test.  So when you use the included regex,
> the bug is hidden.
>
> On GNU/Linux, you use the system regex, which works correctly, and the
> bug in the test demonstrates itself.
>
>> PS: there's a test running from some 20 minutes from backref.sh...
>
> This regex is extremelly slow when run with the system regex on GNU/Linux
> systems.
>
> Both problems are addressed in the CVS on savannah.gnu.org.
>
> Regards,
>       Stepan Kasal
>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]