bug-grep
[Top][All Lists]
Advanced

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

grep -R hangs if applied upon directory that contains pipe file


From: Elmar Stellnberger
Subject: grep -R hangs if applied upon directory that contains pipe file
Date: Sat, 09 May 2009 19:38:15 +0100
User-agent: Thunderbird 2.0.0.19 (X11/20081227)

grep -R should only open regular files, no pipes, no devices, because
otherwise grep -R will hang on these files.

i.e. > grep -R seekitem .
is expected to behave like
> find . -type f -exec grep seekitem {} +

reproduce by:
> mkfifo hug
> grep -R seek .




reply via email to

[Prev in Thread] Current Thread [Next in Thread]