bug-findutils
[Top][All Lists]
Advanced

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

[bug #62043] The xargs -r, --no-run-if-empty Option Is Ignored When a De


From: Andreas Metzler
Subject: [bug #62043] The xargs -r, --no-run-if-empty Option Is Ignored When a Delimiter Is Passed
Date: Sun, 13 Feb 2022 10:31:00 -0500 (EST)

Follow-up Comment #2, bug #62043 (project findutils):

How about the following  change:



diff --git a/xargs/xargs.1 b/xargs/xargs.1
index f743e60c..d0d54bfa 100644
--- a/xargs/xargs.1
+++ b/xargs/xargs.1
@@ -240,8 +240,12 @@ once child processes exit.  This can be used in a
rudimentary load
 distribution scheme, for example.
 .TP
 .B \-r, \-\-no\-run\-if\-empty
-If the standard input does not contain any nonblanks, do not run the
+If the standard input is empty, do not run the
 command.  Normally, the command is run once even if there is no input.
+If neither of the options
+.B \-0 \-\-null \-\-delimiter \-d
+is used the command will also not be run if the input nonempty but consists
of
+blanks.
 This option is a GNU extension.
 .TP
 .BI -s " max-chars\fR, \fI" \-\-max\-chars "=\fImax-chars\fR"


cu Andreas

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62043>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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