Does not xargs(1) accept the output from find(1) as it arrives, and
ship it off to grep(1) in suitable buffersful without waiting for
find(1) to finish?

No, xargs takes from stdin a list and builds the argv[] for it's command.
So worst case scenario it will wait for 1023 "lines" of input (without the minus-ell flag) before doing it's fork() This can of course take a LONG time to accumulate if you are walking many NFS mounts. But if you use a suitable minus-ell flag, it will still be faster than -exec

--
Michael O'Keefe                      |          [EMAIL PROTECTED]
Live on and Ride a 03 BMW F650GSDakar|          [EMAIL PROTECTED]      / |
I like less more or less less than   |Work:+1 858 845 3514        /  |
more. UNIX-live it,love it,fork() it |Fax :+1 858 845 2652       /_p_|
My views are MINE ALONE, blah, blah, |Home:+1 760 788 1296       \`O'|
blah, yackety yack - don't come back |Fax :+1 858                _/_\|_,


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to