When emerging app-misc/ca-certificates-20080809 and it reports broken symlink for a certificate, it then says To batch-remove them, run: find -L /etc/ssl/certs/ -type l -exec rm {} ; But that command says "find: missing argument to `-exec' ". It seems that correct command is find -L /etc/ssl/certs/ -type l -exec rm {} + ; Reproducible: Always
Or even better if we want to stay compatible with non-GNU non-FreeBSD find (someone said OpenBSD?) it should use -print0 | xargs -0 rm, but I think it's MUCH simpler to just use -delete.
-exec is in POSIX. if FreeBSD find does not support it, that's your problem. fixed the syntax in cvs, thanks for pointing it out http://sources.gentoo.org/app-misc/ca-certificates/ca-certificates-20080514-r2.ebuild?r1=1.8&r2=1.9 http://sources.gentoo.org/app-misc/ca-certificates/ca-certificates-20080809.ebuild?r1=1.3&r2=1.4
-exec foo {} ; is POSIX -exec foo {} + is not FreeBSD supports both, OpenBSD does not support the latter.
incorrect. please read the POSIX docs. http://www.opengroup.org/onlinepubs/009695399/utilities/find.html