Hi James, On Thu, Jul 03, 2008 at 09:01:21AM +0100, James Youngman wrote: > I'm very surprised by this. The + forms of -exec* do not guarantee > to use any particular number of command-line arguments per exec, and > AFAIK haven't ever guaranteed that. What scripts are broken by this > restriction that didn't already have a bug? When I read the manpage of find, I expected that -execdir + builds a maximal list of matching files (limited only by command line length):
This variant of the -exec action runs the specified command on the selected files, but the command line is built by appending each selected file name at the end; the total number of invocations of the command will be much less than the number of matched files. The command line is built in much the same way that xargs builds its command lines. [...] The wording of the info files is slightly better, but IMHO pointing out explicitly that no particular length can be expected would be nice. Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ | -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org