[mdlug] grep bug?

Mathew Enders mathew.enders at prodigy.net
Sun Apr 20 09:35:43 EDT 2008


On Wed, 2008-04-16 at 15:33 -0500, Robert Citek wrote:
> Hello all,
> 
> I was running grep on my Ubuntu 7.10 box the other day and came across
> some rather bizarre behaviour.  If I ran this grep command, everything
> worked just fine:
> 
> $ echo hello | grep --color=always -e ^
> 
> However, if I make grep case-insensitive, grep seems to hang:
> 
> $ echo hello | grep -i --color=always -e ^
> 
> A little sleuthing suggests that grep is stuck in some kind of infinite loop:
> 
On Hardy the problem is not present.


menders1 at laptop01:~$ echo hello | grep --color=always -e ^
hello
menders1 at laptop01:~$ echo hello | grep -i --color=always -e ^
hello
menders1 at laptop01:~$





More information about the mdlug mailing list