summaryrefslogtreecommitdiffstats
path: root/usr.bin/xargs/xargs.1
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2002-12-21 10:17:13 +0000
committertjr <tjr@FreeBSD.org>2002-12-21 10:17:13 +0000
commitc6a59dac98550cddc0b5160b22279fcdd5800708 (patch)
tree18dd980318ea84f5f5ade46ea82c4a22f10a84bb /usr.bin/xargs/xargs.1
parent0f6e64a394adb353a0093516585dc001d81a61bb (diff)
downloadFreeBSD-src-c6a59dac98550cddc0b5160b22279fcdd5800708.zip
FreeBSD-src-c6a59dac98550cddc0b5160b22279fcdd5800708.tar.gz
Add the -P option which executes multiple copies of the specified utility
in parallel. Idea from GNU xargs.
Diffstat (limited to 'usr.bin/xargs/xargs.1')
-rw-r--r--usr.bin/xargs/xargs.110
1 files changed, 9 insertions, 1 deletions
diff --git a/usr.bin/xargs/xargs.1 b/usr.bin/xargs/xargs.1
index 6236c58..e10e56a 100644
--- a/usr.bin/xargs/xargs.1
+++ b/usr.bin/xargs/xargs.1
@@ -57,6 +57,7 @@
.Fl n Ar number
.Op Fl x
.Oc
+.Op Fl P Ar maxjobs
.Op Fl s Ar size
.Op Ar utility Op Ar argument ...
.Sh DESCRIPTION
@@ -191,6 +192,12 @@ arguments remaining for the last invocation of
The current default value for
.Ar number
is 5000.
+.It Fl P Ar maxprocs
+Parallel mode: run at most
+.Ar maxprocs
+invocations of
+.Ar utility
+at once.
.It Fl p
Echo each command to be executed and ask the user whether it should be
executed.
@@ -273,7 +280,8 @@ utility is expected to be
.St -p1003.2
compliant.
The
-.Fl J
+.Fl J ,
+.Fl P
and
.Fl R
options are non-standard
OpenPOWER on IntegriCloud