Follow-up Comment #13, bug #18554 (project findutils):

Egmont, you raise an interesting point about the limit on the number of
arguments.  There is nothing in POSIX about such a limit, but I don't think
there is anything that forbids it either.

The -exec sh -c 'utility ... "$@" ...' sh {} + technique is well known and
often recommended on comp.unix.shell, so if there is a potential problem with
it on Linux I would say that is a (quality of implementation) problem for
Linux, not a problem that POSIX needs to address. It could easily be
mitigated by putting a smaller limit in find on the number of arguments it
aggregates.  A limit of 32000 would leave plenty of room for additional fixed
arguments to be passed to the utility.


    _______________________________________________________

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

Reply via email to