diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2024-06-03 13:31:59 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska@appnovation.com> | 2024-06-03 13:31:59 +0000 |
| commit | 9983edf33b1eb4d91bf1187f8e4b7c0c3d288e53 (patch) | |
| tree | 67333a4882f5e4673dea4b46a649292f369641b1 /doc/importas.html | |
| parent | 793dc09daa859b94c69b2f6d9e45e4abf0300069 (diff) | |
| download | execline-9983edf33b1eb4d91bf1187f8e4b7c0c3d288e53.tar.gz | |
Add importas -S
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'doc/importas.html')
| -rw-r--r-- | doc/importas.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/importas.html b/doc/importas.html index ac95e87..ae39de6 100644 --- a/doc/importas.html +++ b/doc/importas.html @@ -27,6 +27,7 @@ environment variable, then executes another program. <pre> importas [ -i | -D default ] [ -u ] [ -s ] [ -C | -c ] [ -N | -n ] [ -d <em>delim</em> ] <em>variable</em> <em>envvar</em> <em>prog...</em> + importas -S [ -i | -D default ] [ -u ] [ -s ] [ -C | -c ] [ -N | -n ] [ -d <em>delim</em> ] <em>envvar</em> <em>prog...</em> </pre> <ul> @@ -54,6 +55,10 @@ error message. This has precedence over any <tt>-D</tt> option. </li> the environment after the substitution. <tt>importas -u <em>variable</em> <em>envvar</em></tt> is equivalent to <tt>importas <em>variable</em> <em>envvar</em> unexport <em>envvar</em></tt>. </li> + <li> <tt>-S</tt> : import with same name. This option allows +<em>variable</em> to be omitted; it will be the same as <em>envvar</em>. +In other words, <code>importas -S <em>var</em></code> is the same as +<code>importas <em>var</em> <em>var</em></code>. </li> <li> Other options are used to <a href="el_transform.html">control the substitution mechanism</a>. </li> </ul> |
