diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/elglob.html | 12 | ||||
-rw-r--r-- | doc/index.html | 4 | ||||
-rw-r--r-- | doc/upgrade.html | 9 |
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> : 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 <em>delim</em></tt> : 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> |