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

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

Bug in grep using option "--color"


From: Saigam
Subject: Bug in grep using option "--color"
Date: Thu, 12 Sep 2002 01:45:27 -0300
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020723

Hi.

When I make a command like:
echo some text | grep '.*' --color
The grep command does not return the console.
If I not use this option all works fine.
While the grep does not return it uses 10% of
my CPU continuously.
Similar error occurs with "-o" option.

I think that this type of regex is rarely used,
but this is quite useful for highlight all
text, for example.

grep --version = 2.5

Thanks by attention.

--
Saigam





reply via email to

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