diff options
author | tjr <tjr@FreeBSD.org> | 2002-12-21 10:17:13 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2002-12-21 10:17:13 +0000 |
commit | c6a59dac98550cddc0b5160b22279fcdd5800708 (patch) | |
tree | 18dd980318ea84f5f5ade46ea82c4a22f10a84bb /usr.bin/xargs/xargs.1 | |
parent | 0f6e64a394adb353a0093516585dc001d81a61bb (diff) | |
download | FreeBSD-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.1 | 10 |
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 |