shithub: riscv

Download patch

ref: 357aef46a579a6695d63eed8a4555a26671dae9a
parent: 4559661b3e8ffa5c20033bbef8ab90b7c4b7012f
author: stanley lieber <[email protected]>
date: Sun Jul 8 15:58:57 EDT 2012

xargs(1): improve man page by deleting lines

--- a/sys/man/1/xargs
+++ b/sys/man/1/xargs
@@ -19,7 +19,9 @@
 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 @@
 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