Index: ChangeLog =================================================================== RCS file: /cvsroot/findutils/findutils/ChangeLog,v retrieving revision 1.86.2.32 diff -u -r1.86.2.32 ChangeLog --- ChangeLog 18 Aug 2007 16:54:15 -0000 1.86.2.32 +++ ChangeLog 20 Aug 2007 09:54:50 -0000 @@ -1,3 +1,10 @@ +2007-08-20 James Youngman + + * doc/find.texi (Directories): Clarify that built commands which + have not been executed yet will be executed before find quits, + even with -quit. Also clarify the difference between -prune and + -quit. + 2007-08-18 Eric Blake Fix Savannah bug #20751. Index: doc/find.texi =================================================================== RCS file: /cvsroot/findutils/findutils/doc/find.texi,v retrieving revision 1.109.2.20 diff -u -r1.109.2.20 find.texi --- doc/find.texi 5 Aug 2007 12:48:54 -0000 1.109.2.20 +++ doc/find.texi 20 Aug 2007 09:54:51 -0000 @@ -1198,11 +1198,14 @@ @deffn Action -quit Exit immediately (with return value zero if no errors have occurred). -No child processes will be left running, but no more files specified -on the command line will be processed. For example, @code{find -/tmp/foo /tmp/bar -print -quit} will print only @samp{/tmp/foo}. Any -command lines which have been built by @samp{-exec ... \+} or address@hidden ... \+} are invoked before the program is executed. +This is different to @samp{-prune} because @samp{-prune} only applies +to the contents of pruned directories, whilt @samp{-quit} simply makes address@hidden stop immediately. No child processes will be left +running, but no more files specified on the command line will be +processed. For example, @code{find /tmp/foo /tmp/bar -print -quit} +will print only @samp{/tmp/foo}. Any command lines which have been +built by @samp{-exec ... \+} or @samp{-execdir ... \+} are invoked +before the program is exited. @end deffn @deffn Option -noleaf