Follow-up Comment #6, bug #18554 (project findutils): POSIX definitely only allows + to be special when it immediately follows {}. I can see that because the text doesn't say "immediately follows" it could be misinterpreted, but the requirement is clear from the specified form of the primary:
-exec utility_name [argument ...] ; -exec utility_name [argument ...] {} + The reason it was done that way was to minimize the chances of breaking existing uses of -exec of the form: find ... -exec utility [args]... {} args... + [args]... \; The POSIX rationale gives an example command that would still be broken even with the rules as they are, but the hope was that such uses were very rare. If there is a need to have arguments after the aggregated ones this can easily be accomplished using "sh -c": find startpoint -tests ... -exec sh -c 'scp "$@" remote:/dest' sh {} + The current draft of the next revision of POSIX.1 includes an example on the find page that shows this kind of usage. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?18554> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-findutils mailing list Bug-findutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-findutils