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

Re: grep crashes machine



Christian Pernegger scripsit:
>Hallo!
>
>I just stumbled upon the following. If I do
>
># cd /
># grep -r * stuff
>
>it outputs files for maybe half a second then hangs the whole machine. The
>last matches were under /dev. I can't remember grep ever scanning device
>files, but maybe it's just me...
 are you shure? shouldn't be 

# grep -r stuff *

?

Anyhow... It will have a problem when grep-ing never endig devices
such as /dev/zero.....

-- 
The Hobbit
ICQ #56656060

I am the "ILOVEGNU" signature virus. Just copy me to your signature.
This email was infected under the terms of the GNU General Public
License.



Reply to: