bug-gnu-utils
[Top][All Lists]
Advanced

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

grep 2.5 bug?


From: Padraig Brady
Subject: grep 2.5 bug?
Date: Wed, 20 Mar 2002 12:43:24 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020311

Hi,

I just tried grep 2.5 and noticed problems
with the new -o and --color options.

They work fine except when there is a * in the regular expression.

This seems to cause an infinite loop:

echo "1 one" | ./grep -E "[0-9]*" -o

and this:

echo "1 one" | ./grep -E "[0-9]*" --color

however this is OK:            |
                               V
echo "1 one" | ./grep -E "[0-9]+" --color

thanks,
Padraig.

p.s. I couldn't connect to mail.gnu.org
to see was this already reported.




reply via email to

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