From f021f61f10c566fcae2f77b1a4b095869076062b Mon Sep 17 00:00:00 2001
From: Laurent Bercot
Date: Wed, 30 Dec 2020 23:06:31 +0000
Subject: Add -E option for variable autoimport
---
doc/backtick.html | 14 ++++++--------
doc/forbacktickx.html | 7 ++++++-
doc/forstdin.html | 7 ++++++-
doc/forx.html | 7 ++++++-
doc/getcwd.html | 12 +++++++++++-
doc/getpid.html | 12 +++++++++++-
doc/withstdinas.html | 7 ++++++-
7 files changed, 52 insertions(+), 14 deletions(-)
(limited to 'doc')
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.
- backtick [ -i | -I | -D default ] [ -N | -n ] variable { prog1... } prog2...
+ backtick [ -i | -I | -D default ] [ -N | -n ] [ -E | -e ] variable { prog1... } prog2...
@@ -48,6 +48,11 @@ output as a value.
- -N : store prog1...'s output as is, including the last newline, if any.
- -n : chomp an ending newline off prog1...'s output. This is the default.
+ - -e : no autoimport. This is the default.
+ - -E : autoimport. Instead of exec'ing into
+prog2..., exec into importas -ui variable variable
+prog2.... This substitutes variable into the command
+line instead of putting it into the environment.
@@ -69,12 +74,5 @@ or to whatever prog1... wrote before crashing;
then execution proceeds.
- Notes
-
-
- - You can start prog2... with "importas -u variable variable"
-to perform variable substitution.
-
-