diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2018-03-16 08:18:53 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2018-03-16 08:18:53 +0000 |
commit | 77a47b2c5e7c3243743bd8d7594366f498e9cef7 (patch) | |
tree | fb807c0b0c20db34f5108df67da6b4d64e5bc8e6 /doc/multisubstitute.html | |
parent | 3fde941ae33bd70edf015b3c72997aef703ebf6d (diff) | |
download | execline-77a47b2c5e7c3243743bd8d7594366f498e9cef7.tar.xz |
More modifications, and doc change
Diffstat (limited to 'doc/multisubstitute.html')
-rw-r--r-- | doc/multisubstitute.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/multisubstitute.html b/doc/multisubstitute.html index ecfff9b..be3d455 100644 --- a/doc/multisubstitute.html +++ b/doc/multisubstitute.html @@ -32,10 +32,10 @@ its <em>argv</em>, then executes another program. <pre> multisubstitute { - [ <a href="define.html">define</a> [ -n ] [ -s ] [ -C | -c ] [ -d <em>delim</em> ] <em>variable</em> <em>value</em> ] - [ <a href="importas.html">importas</a> [ -i | -D <em>default</em> ] [ -n ] [ -s ] [ -C | -c ] [ -d <em>delim</em> ] <em>variable</em> <em>envvar</em> ] + [ <a href="define.html">=</a> [ -n ] [ -s ] [ -C | -c ] [ -d <em>delim</em> ] <em>variable</em> <em>value</em> ] + [ <a href="importas.html">$</a> [ -i | -D <em>default</em> ] [ -n ] [ -s ] [ -C | -c ] [ -d <em>delim</em> ] <em>variable</em> <em>envvar</em> ] [ <a href="import.html">import</a> [ -i | -D <em>default</em> ] [ -n ] [ -s ] [ -C | -c ] [ -d <em>delim</em> ] <em>envvar</em> ] - [ <a href="elglob.html">elglob</a> [ -v ] [ -w ] [ -s ] [ -m ] [ -e ] [ -0 ] <em>variable</em> <em>pattern</em> ] + [ <a href="elglob.html">*</a> [ -v ] [ -w ] [ -s ] [ -m ] [ -e ] [ -0 ] <em>variable</em> <em>pattern</em> ] [ <a href="elgetpositionals.html">elgetpositionals</a> [ -P <em>sharp</em> ] ] [ <a href="multidefine.html">multidefine</a> <em>value</em> { <em>variable...</em> } ] <em>...</em> @@ -55,7 +55,7 @@ to learn about the syntax of each substitution command. </li> <h2> Options </h2> <ul> - <li> If an <tt>import</tt> or <tt>importas</tt> directive was given with the + <li> If an <tt>import</tt> or <tt>$</tt> directive was given with the <tt>-i</tt> option, and the looked up variable is undefined, <tt>multisubstitute</tt> will exit 100. </li> </ul> @@ -72,8 +72,8 @@ to learn about the syntax of each substitution command. </li> <pre> #!/command/execlineb export A wrong - define B ${A} - import A + = B ${A} + $ A A echo ${B} </pre> @@ -87,8 +87,8 @@ to learn about the syntax of each substitution command. </li> export A wrong multisubstitute { - define B ${A} - import A + = B ${A} + $ A A } echo ${B} </pre> |