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

Andreas Metzler <[email protected]>
Newsgroups gmane.comp.gnu.findutils.bugs
Message-ID <[email protected]>
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.