diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2016-06-21 01:32:10 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2016-06-21 01:32:10 +0000 |
commit | dc42072768135928da6e128ae82d45b90c7ce791 (patch) | |
tree | 4f5e11edb1b0196d202659d28c4b037ad8c4644c /doc/backtick.html | |
parent | bdd970fe719f78ba0b13446190ede748e3f8fb4d (diff) | |
download | execline-dc42072768135928da6e128ae82d45b90c7ce791.tar.xz |
Fix backtick's documentation
Diffstat (limited to 'doc/backtick.html')
-rw-r--r-- | doc/backtick.html | 10 |
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 <em>default</em></tt> : 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> |