bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #18554] feat req: -exec cmd {} more args +


From: Geoff Clare
Subject: [bug #18554] feat req: -exec cmd {} more args +
Date: Fri, 22 Dec 2006 14:16:40 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.8.0.8) Gecko/20061025 Firefox/1.5.0.8

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/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]