* Trent W. Buck <[EMAIL PROTECTED]> [081113 03:04]:
> 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?
No, that came out wrong. What I am saying is that OpenBSD needs the
\;. The line should read -exec {} + \; And MacOS X complained about
that.
> 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.
agreed.
--
You may use my gpg key for replies:
pub 1024D/47F79788 2005/02/02 Christian Kellermann (C-Keen)
pgp5bPLRCpI4e.pgp
Description: PGP signature
_______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
