svn commit: r185708 - stable/6/usr.bin/xargs

Giorgos Keramidas keramida at
Sat Dec 6 06:33:25 PST 2008

Author: keramida (doc committer)
Date: Sat Dec  6 14:33:25 2008
New Revision: 185708

  MFC: r175680, r175728.
  Document the no-op -r option of BSD xargs(1).
  PR:             docs/106416
  Submitted by:   Pete Slagle, freebsd-stable at

  stable/6/usr.bin/xargs/   (props changed)

Modified: stable/6/usr.bin/xargs/xargs.1
--- stable/6/usr.bin/xargs/xargs.1	Sat Dec  6 14:23:45 2008	(r185707)
+++ stable/6/usr.bin/xargs/xargs.1	Sat Dec  6 14:33:25 2008	(r185708)
@@ -37,7 +37,7 @@
 .\" $FreeBSD$
 .\" $xMach: xargs.1,v 1.2 2002/02/23 05:23:37 tim Exp $
-.Dd August 2, 2004
+.Dd January 26, 2008
 .Dt XARGS 1
@@ -45,7 +45,7 @@
 .Nd "construct argument list(s) and execute utility"
-.Op Fl 0opt
+.Op Fl 0oprt
 .Op Fl E Ar eofstr
 .Fl I Ar replstr
@@ -213,6 +213,34 @@ in the POSIX locale,
 causes the command to be executed, any other response causes it to be
 No commands are executed if the process is not attached to a terminal.
+.It Fl r
+Compatibility with GNU
+.Nm .
+The GNU version of
+runs the
+.Ar utility
+argument at least once, even if
+input is empty, and it supports a
+.Fl r
+option to inhibit this behavior.
+version of
+does not run the
+.Ar utility
+argument on empty input, but it supports the
+.Fl r
+option for command-line compatibility with GNU
+.Nm ,
+but the
+.Fl r
+option does nothing in the
+version of
+.Nm .
 .It Fl R Ar replacements
 Specify the maximum number of arguments that
 .Fl I

More information about the svn-src-stable-6 mailing list