summaryrefslogtreecommitdiff
path: root/sys/man/1/xargs
diff options
context:
space:
mode:
authorstanley lieber <stanley.lieber@gmail.com>2012-07-08 19:44:05 -0500
committerstanley lieber <stanley.lieber@gmail.com>2012-07-08 19:44:05 -0500
commitdf275a7b68294513493aaccb35576f15c63cabe8 (patch)
tree1e088d4b79059b1cce6caaf0bb41b43bf8b1eedb /sys/man/1/xargs
parent956a50e8c5b92bb5cdead2d725f6fced6e4e231e (diff)
xargs(1): clarify
Diffstat (limited to 'sys/man/1/xargs')
-rw-r--r--sys/man/1/xargs17
1 files changed, 10 insertions, 7 deletions
diff --git a/sys/man/1/xargs b/sys/man/1/xargs
index db0af6260..b33a6a2b7 100644
--- a/sys/man/1/xargs
+++ b/sys/man/1/xargs
@@ -10,20 +10,23 @@ xargs \- construct argument list and execute
.B -p
.I maxprocs
]
-.I args
+.B cmd
+[
+.I arg ...
+]
.SH DESCRIPTION
-The
-.I xargs
-utility reads space, tab, newline, and end-of-file delimited strings from the standard input and executes the specified utility with the strings as arguments.
-.PP
-Any arguments specified on the command line are given to the utility upon each invocation, followed by some number of the arguments read from standard input. The utility is repeatedly executed one or more times until standard input is exhausted.
+.I Xargs
+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.
.PP
Options are as follows:
.TP
.B -n
Set
.I number
-as the maximum number of arguments taken from standard input for each invocation.
+as the maximum number of lines taken from standard input for each invocation.
.TP
.B -p
Parallel mode: run