potato info
Robert Stone
talby@trap.mtview.ca.us
Sun, 13 Jun 1999 12:10:20 -0700
On Sun, Jun 13, 1999 at 10:48:05AM -0700, Christoph Lameter wrote:
> Hmm. I never use recursion like that but
>
> grep xxx `find . -type f`
>
> or so. Also allows much better control over the files processed.
>
"find . -type f | xargs grep xxx" will do the same, but uses a pipe
for ipc instead of the (finite) command line buffer. It can also handle files
with spaces in the name (see find's -print0 option). Sorry, I think I've
spent too much time on comp.unix.shell or something.
-Robert