Christian Kellermann <[EMAIL PROTECTED]> writes:
> Wed Nov 12 15:59:10 CET 2008 Christian Kellermann <[EMAIL PROTECTED]>
> * make finds more portable
>
> This patch changes the way find -exec is used before. OpenBSD
> requires a trailing ';' for work whereas Mac OS X does not like
> that. The solution I choose is to remove the -exec part and replace
> it with xargs.
"-exec {} +" is distinct from "-exec {} \;". Both are part of POSIX[0].
Are you saying the former is not understood by OpenBSD?
If that's the case, I would prefer to simply use the latter than to use
xargs, because to use xargs safely it is necessary to do the -print0 |
xargs -0 dance, and IMO that looks ugly, and in this case we would only
save at most a couple of hundred forks.
[0] http://www.opengroup.org/onlinepubs/009695399/utilities/find.html
_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users