summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-01-27 01:11:13 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-01-27 01:11:13 +0000
commita1f847eae994d665d01b85b0fd1a69492455f3ec (patch)
tree6e95b9da46cc0a735ef1f75ae0ad20bcbe61c915 /doc
parent86aa8c6429885ecde3c4cbbb9528fc82f024f40a (diff)
downloadexecline-a1f847eae994d665d01b85b0fd1a69492455f3ec.tar.xz
- Added -D option to backtick
- Doc updated
Diffstat (limited to 'doc')
-rw-r--r--doc/backtick.html12
-rw-r--r--doc/forbacktickx.html2
-rw-r--r--doc/forx.html2
-rw-r--r--doc/index.html7
4 files changed, 15 insertions, 8 deletions
diff --git a/doc/backtick.html b/doc/backtick.html
index 7bdc037..bdcd785 100644
--- a/doc/backtick.html
+++ b/doc/backtick.html
@@ -29,7 +29,7 @@ another program.
</p>
<pre>
- backtick [ -i ] [ -n ] <em>variable</em> { <em>prog1...</em> } <em>prog2...</em>
+ backtick [ -i | -D <em>default</em> ] [ -n ] <em>variable</em> { <em>prog1...</em> } <em>prog2...</em>
</pre>
<ul>
@@ -45,9 +45,13 @@ output as a value. </li>
<h2> Options </h2>
<ul>
- <li> <tt>-i</tt>&nbsp;: insist. If <em>prog1</em> exits non-zero,
+ <li> <tt>-i</tt>&nbsp;: insist. If <em>prog1</em> crashes or exits non-zero,
<tt>backtick</tt> exits with the same exit code (or 111 if <em>prog1</em>
-crashed for some reason). Without this option, <tt>backtick</tt> execs into
+crashed). </li>
+ <li> <tt>-D&nbsp;<em>default</em></tt>&nbsp;: default value. If
+<em>prog1</em> crashes or exits non-zero, <em>default</em> is used as
+<em>variable</em>'s value. If neither the <tt>-i</tt> nor the <tt>-D</tt>
+option have been given, <tt>backtick</tt> execs into
<em>prog2...</em> no matter what <em>prog1</em> does, with the null word as
<em>variable</em>'s value if <em>prog1</em> didn't write anything before
dying. </li>
@@ -58,7 +62,7 @@ output. </li>
<h2> Notes </h2>
<ul>
- <li> You can start <em>prog2...</em> with "import <em>variable</em> unexport <em>variable</em>"
+ <li> You can start <em>prog2...</em> with "import -u <em>variable</em>"
to perform variable substitution. </li>
</ul>
diff --git a/doc/forbacktickx.html b/doc/forbacktickx.html
index 9e09c81..d40799a 100644
--- a/doc/forbacktickx.html
+++ b/doc/forbacktickx.html
@@ -69,7 +69,7 @@ split <em>x</em>. </li>
<h2> Notes </h2>
<ul>
- <li> You can start <em>loop...</em> with "import <em>variable</em> unexport <em>variable</em>"
+ <li> You can start <em>loop...</em> with "import -u <em>variable</em>"
to perform variable substitution.
</ul>
diff --git a/doc/forx.html b/doc/forx.html
index 86729b8..0349a85 100644
--- a/doc/forx.html
+++ b/doc/forx.html
@@ -58,7 +58,7 @@ same exit code. </li>
<h2> Notes </h2>
<ul>
- <li> You can start <em>loop</em> with "import <em>variable</em> unexport <em>variable</em>"
+ <li> You can start <em>loop</em> with "import -u <em>variable</em>"
if you want variable substitution. </li>
</ul>
diff --git a/doc/index.html b/doc/index.html
index 851a0c5..a847509 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -48,9 +48,12 @@ shell's syntax, and has no security issues.
<ul>
<li> A POSIX-compliant system with a standard C development environment </li>
- <li> GNU make, version 4.0 or later </li>
+ <li> GNU make, version 4.0 or later. Please be aware that execline will
+not build with an earlier version. </li>
<li> <a href="http://skarnet.org/software/skalibs/">skalibs</a> version
-2.2.1.0 or later </li>
+2.2.1.0 or later. It's a build-time requirement. It's also a run-time
+requirement if you link against the shared version of the skalibs
+library. </li>
</ul>
<h3> Licensing </h3>