[Top][All Lists]

[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: Gecko/20061025 Firefox/

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:


  Message sent via/by Savannah

reply via email to

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