diff options
author | keramida <keramida@FreeBSD.org> | 2008-01-26 12:38:19 +0000 |
---|---|---|
committer | keramida <keramida@FreeBSD.org> | 2008-01-26 12:38:19 +0000 |
commit | dfacf4dc3d187dd33d49e4f5132c8cb9c759c054 (patch) | |
tree | 3898270837e9d257ba194140afbbf5a0a0742e12 | |
parent | 3b2455b135be8c8bc44b80d31683f2eb1b93fc01 (diff) | |
download | FreeBSD-src-dfacf4dc3d187dd33d49e4f5132c8cb9c759c054.zip FreeBSD-src-dfacf4dc3d187dd33d49e4f5132c8cb9c759c054.tar.gz |
Document the no-op -r option of BSD xargs(1).
PR: docs/106416
Submitted by: Pete Slagle, freebsd-stable at voidcaptain.com
MFC after: 3 days
-rw-r--r-- | usr.bin/xargs/xargs.1 | 32 |
1 files changed, 30 insertions, 2 deletions
diff --git a/usr.bin/xargs/xargs.1 b/usr.bin/xargs/xargs.1 index dd1d2a8..74b08b6 100644 --- a/usr.bin/xargs/xargs.1 +++ b/usr.bin/xargs/xargs.1 @@ -37,7 +37,7 @@ .\" $FreeBSD$ .\" $xMach: xargs.1,v 1.2 2002/02/23 05:23:37 tim Exp $ .\" -.Dd December 30, 2005 +.Dd January 26, 2008 .Dt XARGS 1 .Os .Sh NAME @@ -45,7 +45,7 @@ .Nd "construct argument list(s) and execute utility" .Sh SYNOPSIS .Nm -.Op Fl 0opt +.Op Fl 0r .Op Fl E Ar eofstr .Oo .Fl I Ar replstr @@ -221,6 +221,34 @@ in the POSIX locale, causes the command to be executed, any other response causes it to be skipped. No commands are executed if the process is not attached to a terminal. +.It Fl r +Compatibility with GNU +.Nm . +The GNU version of +.Nm +runs the +.Ar utility +argument at least once, even if +.Nm +input is empty, and it supports a +.Fl r +option to inhibit this behavior. +The +.Fx +version of +.Nm +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 +.Fx +version of +.Nm . .It Fl R Ar replacements Specify the maximum number of arguments that .Fl I |