grep -Dskip doesn't skip FIFOs

David Xu davidxu at freebsd.org
Thu Dec 6 03:28:01 UTC 2012


On 2012/12/06 07:07, Marco Steinbach wrote:
> Hi there,
>
> grep(1) does not seem to skip FIFOs when told to.

<snip>

I think you need a patch to fix it, the bug is in ggrep, it tries to
open a FIFO before checking if it is a FIFO, then blocked.

http://people.freebsd.org/~davidxu/patch/grep.c.diff



More information about the freebsd-questions mailing list