xargs(1): improve man page by deleting lines
This commit is contained in:
parent
4559661b3e
commit
357aef46a5
1 changed files with 9 additions and 1 deletions
|
@ -19,7 +19,9 @@ xargs \- construct argument list and execute
|
||||||
reads
|
reads
|
||||||
.B number
|
.B number
|
||||||
(default 10) lines from
|
(default 10) lines from
|
||||||
standard input and runs the given commands with those lines as arguments. The utility is repeatedly executed one or more times until standard input is exhausted.
|
standard input and runs the given
|
||||||
|
.B cmd
|
||||||
|
with those lines as arguments. This is repeated until standard input is exhausted.
|
||||||
.PP
|
.PP
|
||||||
Options are as follows:
|
Options are as follows:
|
||||||
.TP
|
.TP
|
||||||
|
@ -32,5 +34,11 @@ as the maximum number of lines taken from standard input for each invocation.
|
||||||
Parallel mode: run
|
Parallel mode: run
|
||||||
.I maxprocs
|
.I maxprocs
|
||||||
invocations at once.
|
invocations at once.
|
||||||
|
.SH EXAMPLE
|
||||||
|
.IP
|
||||||
|
.EX
|
||||||
|
seq 1 9 | xargs -n 3 echo
|
||||||
|
.EE
|
||||||
|
.LP
|
||||||
.SH SOURCE
|
.SH SOURCE
|
||||||
.B /sys/src/cmd/xargs.c
|
.B /sys/src/cmd/xargs.c
|
||||||
|
|
Loading…
Reference in a new issue