On Fri, Oct 06, 2000 at 08:33 -0500, Richard J. Duncan wrote:
>
> Then run,
>
> find . -type f -exec foo.pl {} \;
An exec for every single item found is quite expensive (don't
know about today's timing, but I would estimate some 10 msec for
creating a new process -- the perl compiler run adds to this,
too).
Get yourself trained to use the xargs(1) command. It will
balance between too many program invocations and too long command
lines ("foo.pl `find ...`" doesn't work for some 4K arguments on
the platforms I've seen.).
find . -type f -print0 | xargs -0 foo.pl
virtually yours 82D1 9B9C 01DC 4FB4 D7B4 61BE 3F49 4F77 72DE DA76
Gerhard Sittig true | mail -s "get gpg key" [EMAIL PROTECTED]
--
If you don't understand or are scared by any of the above
ask your parents or an adult to help you.
_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs