diff options
| author | christos <christos@NetBSD.org> | 2010-12-21 20:30:13 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2010-12-21 20:30:13 +0000 |
| commit | db1bd369a4f1efe112f7572c838bf81edd2d7fd3 (patch) | |
| tree | b97d6b58aa07f7081465ba87cd59bf7c2f9384cb /usr.bin | |
| parent | 69001fa7ee39c6e4aa69fac7c05b0feb2b1e7bf4 (diff) | |
PR/44259: Aleksey Cheusov: xargs: -r option is supported but not documented
Synced with the FreeBSD doc.
Diffstat (limited to 'usr.bin')
| -rw-r--r-- | usr.bin/xargs/xargs.1 | 36 |
1 files changed, 32 insertions, 4 deletions
diff --git a/usr.bin/xargs/xargs.1 b/usr.bin/xargs/xargs.1 index 82cc00d5f1a..8c48fab407e 100644 --- a/usr.bin/xargs/xargs.1 +++ b/usr.bin/xargs/xargs.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: xargs.1,v 1.20 2007/12/02 19:47:56 wiz Exp $ +.\" $NetBSD: xargs.1,v 1.21 2010/12/21 20:30:13 christos Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -32,10 +32,10 @@ .\" SUCH DAMAGE. .\" .\" @(#)xargs.1 8.1 (Berkeley) 6/6/93 -.\" $FreeBSD: src/usr.bin/xargs/xargs.1,v 1.37 2006/09/29 15:20:48 ru Exp $ +.\" $FreeBSD: src/usr.bin/xargs/xargs.1,v 1.40 2010/12/11 08:32:16 joel Exp $ .\" $xMach: xargs.1,v 1.2 2002/02/23 05:23:37 tim Exp $ .\" -.Dd April 18, 2007 +.Dd December 21, 2010 .Dt XARGS 1 .Os .Sh NAME @@ -43,7 +43,7 @@ .Nd "construct argument list(s) and execute utility" .Sh SYNOPSIS .Nm -.Op Fl 0opt +.Op Fl 0oprt .Op Fl E Ar eofstr .Oo .Fl I Ar replstr @@ -219,6 +219,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 |
