Brian Nitz <[EMAIL PROTECTED]> wrote:
> Depending on what his find did, Chris may have encountered a bug. Find
> / or /etc -exec grep foo {} \; can hang on some versions of Solaris
> because it encounters a named pipe and gets stuck grepping the pipe
> forever.
What you describe is not a bug but inapropriate usage.
It would be a bad idea to let grep ignore pipes.
If you don't like grep to hang on pipes, just use:
find /etc -type f -exec grep foo {} +
Jörg
--
EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
[EMAIL PROTECTED] (uni)
[EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
opensolaris-discuss mailing list
[email protected]