From 357aef46a579a6695d63eed8a4555a26671dae9a Mon Sep 17 00:00:00 2001 From: stanley lieber Date: Sun, 8 Jul 2012 19:58:57 -0500 Subject: [PATCH] xargs(1): improve man page by deleting lines --- sys/man/1/xargs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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