]> git.lizzy.rs Git - plan9front.git/blob - sys/man/1/xargs
db0af6260be8e0a8ebea75a11c29e7464e4fc725
[plan9front.git] / sys / man / 1 / xargs
1 .TH XARGS 1
2 .SH NAME
3 xargs \- construct argument list and execute
4 .SH SYNOPSIS
5 .B xargs
6 [
7 .B -n
8 .I number
9 ] [
10 .B -p
11 .I maxprocs
12 ]
13 .I args
14 .SH DESCRIPTION
15 The
16 .I xargs
17 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.
18 .PP
19 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.
20 .PP
21 Options are as follows:
22 .TP
23 .B  -n
24 Set
25 .I number
26 as the maximum number of arguments taken from standard input for each invocation.
27 .TP
28 .B  -p
29 Parallel mode: run
30 .I maxprocs
31 invocations at once.
32 .SH SOURCE
33 .B /sys/src/cmd/xargs.c