[bug #66365] find -exec treats + as special when it shouldn't

James Youngman <[email protected]>
Newsgroups gmane.comp.gnu.findutils.bugs
Message-ID <[email protected]>
Follow-up Comment #2, bug #66365 (group findutils):

Because GNU find currently rejects these commands with the error shown in
Geoff's comment, I'm not expecting there to be a substantial problem with
backward incompatibility.  That is, I doubt that anybody is likely to be
relying on GNU find rejecting commands like 


find . -prune -exec echo x{} + \;



The standard says:

>  If more than one argument containing the two characters "{}" is present,
the behavior is unspecified.

The GNU find manual page states that multiple "{}" is not allowed (and indeed,
this is rejected).  I believe that his aspect of the current behaviour should
remain unchanged.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66365>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCZyN+xwAKCRCqLAuaBUf3
Tt+dAPwIiMRzomUy3Rv+54RTvlpJkdLZdkid2BqMW/ZxC66XmQEAk7WCtrQSQx2e
WU+PJTAn3ufccX5OhH2eJ/VKnr6Q5QY=
=ryBx
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.