--On Tuesday, April 20, 2004 9:00 PM -0500 "Burton M. Strauss III" <[EMAIL PROTECTED]> wrote:

I think that's (cat | grep) is one of those things left over from long ago
and far slower machines.  cat makes a copy of the file as it pipes it into
grep, so that you have the /etc/passwd open for a shorter period of time.

Interesting. I guess cat gets most of the file buffered either in the pipe or in its read buffers, effectively acting as a read-ahead buffer from the days before the kernel and hardware did that for you.



_______________________________________________ Ntop-dev mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to