diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-08-23 23:13:32 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-08-23 23:13:32 +0000 |
commit | c1fbce5d35af0143623d8541cbc092267843aac9 (patch) | |
tree | 10d1961e2e97ccf9bb4329ec7fc25412d20fb55b | |
parent | 523036ef1e6e4bd7047ec21a6e68b7508569db91 (diff) | |
download | execline-c1fbce5d35af0143623d8541cbc092267843aac9.tar.gz execline-c1fbce5d35af0143623d8541cbc092267843aac9.tar.xz execline-c1fbce5d35af0143623d8541cbc092267843aac9.zip |
Convert examples using import to importas in the doc
-rw-r--r-- | doc/backtick.html | 2 | ||||
-rw-r--r-- | doc/componentsb.txt | 2 | ||||
-rw-r--r-- | doc/el_pushenv.html | 2 | ||||
-rw-r--r-- | doc/forstdin.html | 2 | ||||
-rw-r--r-- | doc/forx.html | 2 | ||||
-rw-r--r-- | doc/trap.html | 2 | ||||
-rw-r--r-- | doc/withstdinas.html | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/doc/backtick.html b/doc/backtick.html index ce2b297..b1e2870 100644 --- a/doc/backtick.html +++ b/doc/backtick.html @@ -72,7 +72,7 @@ then execution proceeds. </li> <h2> Notes </h2> <ul> - <li> You can start <em>prog2...</em> with "import -u <em>variable</em>" + <li> You can start <em>prog2...</em> with "importas -u <em>variable</em> <em>variable</em>" to perform variable substitution. </li> </ul> diff --git a/doc/componentsb.txt b/doc/componentsb.txt index a191f04..c65e2e1 100644 --- a/doc/componentsb.txt +++ b/doc/componentsb.txt @@ -31,7 +31,7 @@ baz"$1"qux # This will evaluate to the word baz$1qux baz\$1qux # Same here baz$1qux # Same here in execline-1.y -${PATH} # This will NOT be replaced by execline ; use the import command +${PATH} # This will NOT be replaced by execline ; use the importas command # if you need the $PATH value. 'this is not a string' # it will be parsed as five separate words diff --git a/doc/el_pushenv.html b/doc/el_pushenv.html index bce3169..d22ce9d 100644 --- a/doc/el_pushenv.html +++ b/doc/el_pushenv.html @@ -162,7 +162,7 @@ at all; for instance, in <li> Use <tt>execlineb -S<em>n</em></tt> if you need only simple positional parameter substitution in your script - no <a href="shift.html">shift</a> or <a href="elgetopt.html">elgetopt</a>, -no <tt>import 1</tt>. </li> +no <tt>importas 1 1</tt>. </li> <li> Use <tt>execlineb -p</tt>, then <tt>elgetpositionals</tt> if you don't mind overwriting the current stack of positional parameters. </li> <li> Use <tt>execlineb</tt>, then <tt>elgetpositionals</tt>, then diff --git a/doc/forstdin.html b/doc/forstdin.html index 90300d8..5228aee 100644 --- a/doc/forstdin.html +++ b/doc/forstdin.html @@ -71,7 +71,7 @@ split <em>x</em>. </li> <h2> Notes </h2> <ul> - <li> You can start <em>loop...</em> with "import -u <em>variable</em>" + <li> You can start <em>loop...</em> with "importas -u <em>variable</em> <em>variable</em>" to perform variable substitution. </li> </ul> diff --git a/doc/forx.html b/doc/forx.html index 5ad43f6..1c2a61c 100644 --- a/doc/forx.html +++ b/doc/forx.html @@ -68,7 +68,7 @@ listed in the <em>breakcodes</em> list, else it will exit 1. </li> <h2> Notes </h2> <ul> - <li> You can start <em>loop</em> with "import -u <em>variable</em>" + <li> You can start <em>loop</em> with "importas -u <em>variable</em> <em>variable</em>" if you want variable substitution. </li> </ul> diff --git a/doc/trap.html b/doc/trap.html index ddb1459..03d5bc4 100644 --- a/doc/trap.html +++ b/doc/trap.html @@ -87,7 +87,7 @@ infinite (i.e. a <tt>timeout</tt> directive will never trigger). </li> <ul> <li> Programs defined in command line directives can start with -<tt><a href="import.html">import</a> !</tt> to retrieve the pid of +<tt><a href="importas.html">importas</a> ! !</tt> to retrieve the pid of <em>prog</em> in <tt>${!}</tt> </li> <li> <tt>trap</tt> is a standard shell builtin, with similar functionality. It is more idiomatic, and probably more efficient, diff --git a/doc/withstdinas.html b/doc/withstdinas.html index c673921..f0db24a 100644 --- a/doc/withstdinas.html +++ b/doc/withstdinas.html @@ -66,7 +66,7 @@ start of the input is, up to the first null character; and execution proceeds. < <h2> Notes </h2> <ul> - <li> You can start <em>prog...</em> with "import -u <em>variable</em>" + <li> You can start <em>prog...</em> with "importas -u <em>variable</em> <em>variable</em>" to perform variable substitution. </li> </ul> |