[mdlug] grep bug?

Michael Corral micorral at comcast.net
Thu Apr 17 03:48:16 EDT 2008


2008-04-16, Monsieur Robert Citek a ecrit:
> 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 ^

Might just be an Ubuntu-specific bug. Works fine in Fedora 7:

$ grep -V
grep (GNU grep) 2.5.1

$ echo hello | grep -i --color=always -e ^
hello


Michael



More information about the mdlug mailing list