diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2014-12-31 12:30:13 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2014-12-31 12:30:13 +0000 |
commit | 151f30888748cc37b82c1c21c4428c53279bf8eb (patch) | |
tree | 74609951ea0c8a3062a4093323089b64947591b7 /doc | |
parent | ea96addef47063dc6858c63f00e8e9731a31a990 (diff) | |
download | execline-151f30888748cc37b82c1c21c4428c53279bf8eb.tar.xz |
Add option -u to import and importas
Diffstat (limited to 'doc')
-rw-r--r-- | doc/import.html | 2 | ||||
-rw-r--r-- | doc/importas.html | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/doc/import.html b/doc/import.html index 1c6896c..7e80b35 100644 --- a/doc/import.html +++ b/doc/import.html @@ -25,7 +25,7 @@ then executes another program. <h2> Interface </h2> <pre> - import [ -i | -D <em>default</em> ] [ -s ] [ -C | -c ] [ -n ] [ -d <em>delim</em> ] <em>envvar</em> <em>prog...</em> + import [ -i | -D <em>default</em> ] [ -u ] [ -s ] [ -C | -c ] [ -n ] [ -d <em>delim</em> ] <em>envvar</em> <em>prog...</em> </pre> <ul> diff --git a/doc/importas.html b/doc/importas.html index a9c6f15..81dca83 100644 --- a/doc/importas.html +++ b/doc/importas.html @@ -25,7 +25,7 @@ environment variable, then executes another program. <h2> Interface </h2> <pre> - importas [ -i | -D default ] [ -s ] [ -C | -c ] [ -n ] [ -d <em>delim</em> ] <em>variable</em> <em>envvar</em> <em>prog...</em> + importas [ -i | -D default ] [ -u ] [ -s ] [ -C | -c ] [ -n ] [ -d <em>delim</em> ] <em>variable</em> <em>envvar</em> <em>prog...</em> </pre> <ul> @@ -49,6 +49,10 @@ use <tt>-D ""</tt>. </li> <li> <tt>-i</tt> : Insist. If <em>envvar</em> is undefined, <tt>importas</tt> will not do anything; instead, it will exit 100 with an error message. This has precedence over any <tt>-D</tt> option. </li> + <li> <tt>-u</tt> : Unexport. <em>envvar</em> will be removed from +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> Other options are used to <a href="el_transform.html">control the substitution mechanism</a>. </li> </ul> |