[Top][All Lists]

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

Re: Bug#489046: findutils: find -execdir + doesn't work anymore

From: Uwe Kleine-König
Subject: Re: Bug#489046: findutils: find -execdir + doesn't work anymore
Date: Tue, 31 Mar 2009 07:31:50 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

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

Pengutronix e.K.                              | Uwe Kleine-König            |
Industrial Linux Solutions                    | http://www.pengutronix.de/  |

reply via email to

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