From a1f847eae994d665d01b85b0fd1a69492455f3ec Mon Sep 17 00:00:00 2001
From: Laurent Bercot
Date: Tue, 27 Jan 2015 01:11:13 +0000
Subject: - Added -D option to backtick - Doc updated
---
doc/backtick.html | 12 ++++++++----
doc/forbacktickx.html | 2 +-
doc/forx.html | 2 +-
doc/index.html | 7 +++++--
4 files changed, 15 insertions(+), 8 deletions(-)
(limited to 'doc')
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.
- backtick [ -i ] [ -n ] variable { prog1... } prog2...
+ backtick [ -i | -D default ] [ -n ] variable { prog1... } prog2...
@@ -45,9 +45,13 @@ output as a value.
Options
- - -i : insist. If prog1 exits non-zero,
+
- -i : insist. If prog1 crashes or exits non-zero,
backtick exits with the same exit code (or 111 if prog1
-crashed for some reason). Without this option, backtick execs into
+crashed).
+ - -D default : default value. If
+prog1 crashes or exits non-zero, default is used as
+variable's value. If neither the -i nor the -D
+option have been given, backtick execs into
prog2... no matter what prog1 does, with the null word as
variable's value if prog1 didn't write anything before
dying.
@@ -58,7 +62,7 @@ output.
Notes
- - You can start prog2... with "import variable unexport variable"
+
- You can start prog2... with "import -u variable"
to perform variable substitution.
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 x.
Notes
- - You can start loop... with "import variable unexport variable"
+
- You can start loop... with "import -u variable"
to perform variable substitution.
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.
Notes
- - You can start loop with "import variable unexport variable"
+
- You can start loop with "import -u variable"
if you want variable substitution.
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.
- A POSIX-compliant system with a standard C development environment
- - GNU make, version 4.0 or later
+ - GNU make, version 4.0 or later. Please be aware that execline will
+not build with an earlier version.
- skalibs version
-2.2.1.0 or later
+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.
Licensing
--
cgit v1.2.3