summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2024-05-27 16:35:40 +0000
committerLaurent Bercot <ska@appnovation.com>2024-05-27 16:35:40 +0000
commit793dc09daa859b94c69b2f6d9e45e4abf0300069 (patch)
treeab9a8d3b6cb21409db561e30f44b0ac0fa6aec06 /doc
parent0f17d658e63bbe06d4f278f81e255446dd30489d (diff)
downloadexecline-793dc09daa859b94c69b2f6d9e45e4abf0300069.tar.xz
Prepare for 2.9.6.0, add elglob -d
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/elglob.html12
-rw-r--r--doc/index.html4
-rw-r--r--doc/upgrade.html9
3 files changed, 22 insertions, 3 deletions
diff --git a/doc/elglob.html b/doc/elglob.html
index 0870d2d..e9e73b1 100644
--- a/doc/elglob.html
+++ b/doc/elglob.html
@@ -26,7 +26,7 @@ another program.
<h2> Interface </h2>
<pre>
- elglob [ -v ] [ -w ] [ -s ] [ -m ] [ -e ] [ -0 ] <em>variable</em> <em>pattern</em> <em>prog...</em>
+ elglob [ -v ] [ -w ] [ -s ] [ -m ] [ -e ] [ -0 ] [ -n ] [ -d <em>delim</em> ] <em>variable</em> <em>pattern</em> <em>prog...</em>
</pre>
<ul>
@@ -63,6 +63,16 @@ it. </li>
matches nothing, it will be substituted as is (verbatim in one word). With
this option, if <em>pattern</em> matches nothing, it will be properly
substituted as zero word. </li>
+ <li> <tt>-n</tt>&nbsp;: chomp. Don't add an ending delimiter at the end
+of the word. Only valid with the <tt>-d</tt> option, see below. </li>
+ <li> <tt>-d&nbsp;<em>delim</em></tt>&nbsp;: do not split the value.
+Instead, make it one word, where the result of the globbing are separated
+by the first character of <em>delim</em>. If the <tt>-n</tt> option is
+not given, the first character of <em>delim</em> also appears after the
+last result. If <em>delim</em> is the empty string, the values are
+encoded as a sequence of netstrings into a single word, (and you can
+later separate the words with e.g.
+<a href="define.html">define -s</a>). </li>
</ul>
</body>
diff --git a/doc/index.html b/doc/index.html
index 74f83f3..5680b96 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -51,7 +51,7 @@ shell's syntax, and has no security issues.
<li> A POSIX-compliant system with a standard C development environment </li>
<li> GNU make, version 3.81 or later. </li>
<li> <a href="//skarnet.org/software/skalibs/">skalibs</a> version
-2.14.1.1 or later. It's a build-time requirement. It's also a run-time
+2.14.2.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>
@@ -77,7 +77,7 @@ want nsswitch-like functionality:
<h3> Download </h3>
<ul>
- <li> The current released version of execline is <a href="execline-2.9.5.1.tar.gz">2.9.5.1</a>. </li>
+ <li> The current released version of execline is <a href="execline-2.9.6.0.tar.gz">2.9.6.0</a>. </li>
<li> Alternatively, you can checkout a copy of the
<a href="//git.skarnet.org/cgi-bin/cgit.cgi/execline/">execline
git repository</a>:
diff --git a/doc/upgrade.html b/doc/upgrade.html
index 927db65..17da599 100644
--- a/doc/upgrade.html
+++ b/doc/upgrade.html
@@ -18,6 +18,15 @@
<h1> What has changed in execline </h1>
+<h2> in 2.9.6.0 </h2>
+
+<ul>
+ <li> <a href="//skarnet.org/software/skalibs/">skalibs</a>
+dependency bumped to 2.14.2.0. </li>
+ <li> <a href="elglob.html">elglob</a> now has an option to provide its
+results as one word (including the possibility of netstring encoding). </li>
+</ul>
+
<h2> in 2.9.5.1 </h2>
<ul>