* doc/find.texi (Error Messages From xargs): the message "can not fit single argument within argument list size limit" is now "argument list too long". --- ChangeLog | 7 +++++++ doc/find.texi | 11 +++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog index 033e612..8ef6117 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-06-05 James Youngman <[email protected]> + + Update xargs error message. + * doc/find.texi (Error Messages From xargs): the message "can not + fit single argument within argument list size limit" is now + "argument list too long". + 2011-06-04 James Youngman <[email protected]> Use the gnulib byteswap and uname modules. diff --git a/doc/find.texi b/doc/find.texi index 5d9b096..70ff60f 100644 --- a/doc/find.texi +++ b/doc/find.texi @@ -5529,15 +5529,22 @@ Please try unsetting some environment variables, or exiting the current shell. You can also use @samp{xargs --show-limits} to understand the relevant sizes. -@item can not fit single argument within argument list size limit +@item argument list too long You are using the @samp{-I} option and @code{xargs} doesn't have enough space to build a command line because it has read a really -large item and it doesn't fit. You can probably work around this +large item and it doesn't fit. You may be able to work around this problem with the @samp{-s} option, but the default size is pretty large. This is a rare situation and is more likely an attempt to test the limits of @code{xargs}, or break it. Otherwise, you will need to try to shorten the problematic argument or not use @code{xargs}. +@item argument line too long +You are using the @samp{-L} or @samp{-l} option and one of the input +lines is too long. You may be able to work around this problem with +the @samp{-s} option, but the default size is pretty large. If you +can modify the your @code{xargs} command not to use @samp{-L} or +@samp{-l}, that will be more likely to result in success. + @item cannot fork See the description of the similar message for @code{find}. -- 1.7.2.5
