[Gllug] Bug in grep? Surely not ...

Tethys sta296 at astradyne.co.uk
Tue Sep 20 14:01:10 UTC 2005


Richard Jones writes:

>BUT if I redirect the output to a file, grep hangs consuming 100% CPU,
>but strace shows its not doing anything at all.
>
>  egrep -v '^0\.$' < /tmp/col4 > /tmp/costs

Works fine for me under FC4. Incidentally, why redirect the input, rather
than just pass /tmp/col4 as an argument to egrep?

leto:~% uname -a
Linux leto.astradyne.corp 2.6.12-1.1447_FC4smp #1 SMP Fri Aug 26 20:57:13 EDT 2005 i686 i686 i386 GNU/Linux
leto:~% rpm -q grep
grep-2.5.1-48.2

Tet
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list