[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: grep kills my machine
From: |
Juergen Heinzl |
Subject: |
Re: grep kills my machine |
Date: |
Sat, 16 Mar 2002 02:30:11 +0000 (UTC) |
User-agent: |
slrn/0.9.7.3 (Linux) |
In article <address@hidden>, Michael Sharpe wrote:
> Hi,
> The following command will make grep consume my CPU.
>
> grep --color "" /etc/passwd
>
> Works fine without the --color argument. I am running grep 2.5.
[-]
Same here, yet it being bedtime for me - in grep.c [586]
match_size, match_offset and beg never change and the while()
loop never finishes, gobbling up all CPU cycles it can get.
Have to be off,
Juergen
--
\ Real name : Juergen Heinzl \ no flames /
\ EMail Private : address@hidden \ send money instead /