summaryrefslogtreecommitdiff
path: root/sys/man/1/xargs
diff options
context:
space:
mode:
authorstanley lieber <stanley.lieber@gmail.com>2012-07-08 19:58:57 -0500
committerstanley lieber <stanley.lieber@gmail.com>2012-07-08 19:58:57 -0500
commit357aef46a579a6695d63eed8a4555a26671dae9a (patch)
treeff16dd55423fda3671db9137b284439ab070bfc1 /sys/man/1/xargs
parent4559661b3e8ffa5c20033bbef8ab90b7c4b7012f (diff)
xargs(1): improve man page by deleting lines
Diffstat (limited to 'sys/man/1/xargs')
-rw-r--r--sys/man/1/xargs10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/man/1/xargs b/sys/man/1/xargs
index b33a6a2b7..78638d65b 100644
--- a/sys/man/1/xargs
+++ b/sys/man/1/xargs
@@ -19,7 +19,9 @@ xargs \- construct argument list and execute
reads
.B number
(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
Options are as follows:
.TP
@@ -32,5 +34,11 @@ as the maximum number of lines taken from standard input for each invocation.
Parallel mode: run
.I maxprocs
invocations at once.
+.SH EXAMPLE
+.IP
+.EX
+seq 1 9 | xargs -n 3 echo
+.EE
+.LP
.SH SOURCE
.B /sys/src/cmd/xargs.c