diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2020-12-30 23:06:31 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2020-12-30 23:06:31 +0000 |
commit | f021f61f10c566fcae2f77b1a4b095869076062b (patch) | |
tree | ce84d18f30a4ebf5f6dc3b7ea1b009ba1a06ffcf /doc/backtick.html | |
parent | b6b71f9942fb5f209e183c2ca997f33071c38c71 (diff) | |
download | execline-f021f61f10c566fcae2f77b1a4b095869076062b.tar.xz |
Add -E option for variable autoimport
Diffstat (limited to 'doc/backtick.html')
-rw-r--r-- | doc/backtick.html | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/doc/backtick.html b/doc/backtick.html index 1f77432..91e963a 100644 --- a/doc/backtick.html +++ b/doc/backtick.html @@ -30,7 +30,7 @@ environment variable, then executes another program. </p> <pre> - backtick [ -i | -I | -D <em>default</em> ] [ -N | -n ] <em>variable</em> { <em>prog1...</em> } <em>prog2...</em> + backtick [ -i | -I | -D <em>default</em> ] [ -N | -n ] [ -E | -e ] <em>variable</em> { <em>prog1...</em> } <em>prog2...</em> </pre> <ul> @@ -48,6 +48,11 @@ output as a value. </li> <ul> <li> <tt>-N</tt> : store <em>prog1...</em>'s output as is, including the last newline, if any. </li> <li> <tt>-n</tt> : chomp an ending newline off <em>prog1...</em>'s output. This is the default. </li> + <li> <tt>-e</tt> : no autoimport. This is the default. </li> + <li> <tt>-E</tt> : autoimport. Instead of exec'ing into +<em>prog2...</em>, exec into <tt>importas -ui <em>variable</em> <em>variable</em> +<em>prog2...</em></tt>. This substitutes <em>variable</em> into the command +line instead of putting it into the environment. </li> </ul> <p> @@ -69,12 +74,5 @@ or to whatever <em>prog1...</em> wrote before crashing; then execution proceeds. </li> </ul> -<h2> Notes </h2> - -<ul> - <li> You can start <em>prog2...</em> with "importas -u <em>variable</em> <em>variable</em>" -to perform variable substitution. </li> -</ul> - </body> </html> |