summaryrefslogtreecommitdiff
path: root/doc/execlineb.html
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2019-05-20 11:46:14 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2019-05-20 11:46:14 +0000
commit66fd6b861789a688c3279d2e934ba37ef62d5c80 (patch)
tree3278d3432556cd9482f3d715605f4d0947089c07 /doc/execlineb.html
parent093161d9ae606141027efa597ed9d57bc88d0ce2 (diff)
downloadexecline-66fd6b861789a688c3279d2e934ba37ef62d5c80.tar.xz
Document -q/-w/-W effect on execlineb -Sfoo
Diffstat (limited to 'doc/execlineb.html')
-rw-r--r--doc/execlineb.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/execlineb.html b/doc/execlineb.html
index c8be4c8..17edd72 100644
--- a/doc/execlineb.html
+++ b/doc/execlineb.html
@@ -194,6 +194,24 @@ force it unset, set to 1, or set to 2 by giving respectively the
<tt>-q</tt>, <tt>-w</tt> or <tt>-W</tt> option to <tt>execlineb</tt>.
</p>
+<p>
+ The <tt>EXECLINE_STRICT</tt> variable (as well as the <tt>-q</tt>,
+<tt>-w</tt> and <tt>-W</tt> options to <tt>execlineb</tt> will also modify
+the behaviour of the <tt>-S&nbsp;<em>nmin</em></tt> and <tt>-s&nbsp;<em>nmin</em></tt>
+options when <tt>execlineb</tt> is called with less than <em>nmin</em>
+positional parameters:
+</p>
+
+<ul>
+ <li> If <tt>EXECLINE_STRICT</tt> is 0 or unset: the script will run
+silently, and missing positional parameters, up to <em>nmin</em>, will
+be substituted with the empty word. </li>
+ <li> If <tt>EXECLINE_STRICT</tt> is 1: same, but the script will
+print a warning message rather than run silently. </li>
+ <li> If <tt>EXECLINE_STRICT</tt> is 2: the script will exit with an
+error message. </li>
+</ul>
+
<h2> Options for environment management </h2>
<p>