<quote who="Stuart Jansen">
> Two solutions have already been given. However, I personally think the
> cleanest is
>
> ls -alR 2>/dev/null | grep "index.html"
>
> Unless there's a reason to send errors through the pipe and burn CPU
> processing them, why not kill it right away?  As for the other, it's
> only eating grep's stderr but you want get rid of the ls' error
> messages.

I agree. My solution was not as good. This is the easiest and best.

--Dave



____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://phantom.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to