Index: doc/find.texi =================================================================== RCS file: /cvsroot/findutils/findutils/doc/find.texi,v retrieving revision 1.106 diff -u -r1.106 find.texi --- doc/find.texi 29 Jul 2005 22:04:07 -0000 1.106 +++ doc/find.texi 28 Aug 2005 08:06:42 -0000 @@ -2055,19 +2055,20 @@ @table @code @item address@hidden@address@hidden address@hidden address@hidden@address@hidden address@hidden -I @var{replace-str} @itemx address@hidden@address@hidden Replace occurrences of @var{replace-str} in the initial arguments with names read from the input. Also, unquoted blanks do not terminate arguments; instead, the input is split at newlines only. If address@hidden is omitted, it defaults to @address@hidden@}} (like for address@hidden is omitted for @samp{--replace} or @samp{-i}, it defaults +to @address@hidden@}} (like for @samp{find -exec}). Implies @samp{-x} and @samp{-l 1}. @samp{-i} is depreceated in favour of @samp{-I}. As an example, to sort each file in the @file{bills} directory, leaving the output in that file name with @file{.sorted} appended, you could do: @example -find bills -type f | xargs -IXX sort -o XX.sorted XX +find bills -type f | xargs -I XX sort -o XX.sorted XX @end example @noindent @@ -2827,12 +2828,13 @@ Print a summary of the options to @code{xargs} and exit. @item address@hidden@address@hidden address@hidden address@hidden@address@hidden address@hidden -I @var{replace-str} @itemx address@hidden@address@hidden Replace occurrences of @var{replace-str} in the initial arguments with names read from standard input. Also, unquoted blanks do not terminate arguments; instead, the input is split at newlines only. -If @var{replace-str} is omitted, it defaults to @address@hidden@}} +If @var{replace-str} is omitted for @samp{--replace} or @samp{-i}, it +defaults to @address@hidden@}} (like for @samp{find -exec}). Implies @samp{-x} and @samp{-l 1}. @samp{-i} is depreceated in favour of @samp{-I}. Index: xargs/xargs.1 =================================================================== RCS file: /cvsroot/findutils/findutils/xargs/xargs.1,v retrieving revision 1.19 diff -u -r1.19 xargs.1 --- xargs/xargs.1 10 Jul 2005 01:51:21 -0000 1.19 +++ xargs/xargs.1 28 Aug 2005 08:06:45 -0000 @@ -4,7 +4,7 @@ .SH SYNOPSIS .B xargs [\-0prtx] [\-E[eof-str]] [\-e[eof-str]] [\-\-eof[=eof-str]] [\-\-null] -[\-I[replace-str]] [\-i[replace-str]] [\-\-replace[=replace-str]] +[\-I replace-str] [\-i[replace-str]] [\-\-replace[=replace-str]] [\-l[max-lines]] [\-L[max-lines]] [\-\-max\-lines[=max-lines]] [\-n max-args] [\-\-max\-args=max-args] [\-s max-chars] [\-\-max\-chars=max-chars] [\-P max-procs] [\-\-max\-procs=max-procs] [\-\-interactive] [\-\-verbose] [\-\-exit] @@ -75,12 +75,12 @@ .B xargs and exit. .TP -.I "\-\-replace[=replace-str], \-I[replace-str], \-i[replace-str]" +.I "\-\-replace[=replace-str], \-I replace-str, \-i[replace-str]" Replace occurrences of \fIreplace-str\fR in the initial-arguments with names read from standard input. Also, unquoted blanks do not terminate input items; instead the separator is the newline character. -If \fIreplace-str\fR is omitted, it +If \fIreplace-str\fR is omitted for \-\-replace or \-i , it defaults to "{}" (like for `find \-exec'). Implies \fI\-x\fP and \fI\-l 1\fP. \-i is depreceated in favour of \-I.