summaryrefslogtreecommitdiff
path: root/doc/backtick.html
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2016-06-21 01:32:10 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2016-06-21 01:32:10 +0000
commitdc42072768135928da6e128ae82d45b90c7ce791 (patch)
tree4f5e11edb1b0196d202659d28c4b037ad8c4644c /doc/backtick.html
parentbdd970fe719f78ba0b13446190ede748e3f8fb4d (diff)
downloadexecline-dc42072768135928da6e128ae82d45b90c7ce791.tar.xz
Fix backtick's documentation
Diffstat (limited to 'doc/backtick.html')
-rw-r--r--doc/backtick.html10
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/backtick.html b/doc/backtick.html
index 694a29d..42e80da 100644
--- a/doc/backtick.html
+++ b/doc/backtick.html
@@ -30,7 +30,7 @@ environment variable, then executes another program.
</p>
<pre>
- backtick [ -i | -D <em>default</em> ] [ -n ] <em>variable</em> { <em>prog1...</em> } <em>prog2...</em>
+ backtick [ -i | -I | -D <em>default</em> ] [ -n ] <em>variable</em> { <em>prog1...</em> } <em>prog2...</em>
</pre>
<ul>
@@ -52,8 +52,9 @@ output. </li>
<p>
The other options tell backtick what to do if <em>prog1...</em>'s output
-is not suitable as the contents of an environment variable, i.e. it
-contains a null character:
+is not suitable as the contents of an environment variable (i.e. it
+contains a null character) or if <em>prog1...</em> crashes or exits
+nonzero:
</p>
<ul>
@@ -63,7 +64,8 @@ the environment, and execution proceeds. </li>
<li> <tt>-D&nbsp;<em>default</em></tt>&nbsp;: the value of <em>variable</em>
is set to <em>default</em>, and execution proceeds. </li>
<li> neither of those options: the value of <em>variable</em> is set to whatever
-the start of <em>prog1...</em>'s output is, up to the first null character;
+the start of <em>prog1...</em>'s output is, up to the first null character,
+or to whatever <em>prog1...</em> wrote before crashing;
then execution proceeds. </li>
</ul>