summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Youngman <jay@gnu.org>2011-06-05 00:14:09 +0100
committerJames Youngman <jay@gnu.org>2011-06-05 01:10:37 +0100
commit411fbef03b1e2a2990fe5e51e412d9298cec6614 (patch)
treeca4fba689ae2e0937079bf2bd2df82e3b12b23db
parentd52e2ffbd14a8d0d8219903650b8eeb12c5bd7fe (diff)
downloadfindutils-411fbef03b1e2a2990fe5e51e412d9298cec6614.tar.gz
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".
-rw-r--r--ChangeLog7
-rw-r--r--doc/find.texi11
2 files changed, 16 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 033e612c..8ef61178 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-06-05 James Youngman <jay@gnu.org>
+
+ 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 <jay@gnu.org>
Use the gnulib byteswap and uname modules.
diff --git a/doc/find.texi b/doc/find.texi
index 5d9b096c..70ff60f1 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}.