From 3d91d9ce645efa020800b85be1ac2727ebcbad19 Mon Sep 17 00:00:00 2001
From: Laurent Bercot
Date: Wed, 6 Nov 2024 08:05:33 +0000
Subject: Prepare for 2.9.7.0 ; rework forx/forstdin -p, add -P maxpar
Also refactor several things to keep global footprint low
Signed-off-by: Laurent Bercot
---
doc/forx.html | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
(limited to 'doc/forx.html')
diff --git a/doc/forx.html b/doc/forx.html
index 8f1d558..b20ab65 100644
--- a/doc/forx.html
+++ b/doc/forx.html
@@ -29,7 +29,7 @@
- forx [ -E | -e ] [ -p ] [ -o okcodes | -x breakcodes ] variable { args... } loop...
+ forx [ -E | -e ] [ -p | -P maxpar ] [ -o okcodes | -x breakcodes ] variable { args... } loop...
@@ -65,16 +65,12 @@ list, else it will exit 1. If the -x option has been given,
listed in the breakcodes list, else it will exit 1.
- -e : no autoimport. This is the default.
- -E : autoimport. Instead of spawning
-loop..., spawn importas -ui variable variable
+loop..., spawn importas -uSi variable
loop.... This substitutes variable into the command
line instead of putting it into the environment.
-
-
- Notes
-
-
- - You can start loop with "importas -u variable variable"
-if you want variable substitution.
+ - -P maxpar : similar to -p, but run
+up to maxpar instances in parallel, i.e. never have more than maxpar
+children at the same time. Minimum is 1.