summaryrefslogtreecommitdiff
path: root/doc/el_pushenv.html
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2018-03-16 08:18:53 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2018-03-16 08:18:53 +0000
commit77a47b2c5e7c3243743bd8d7594366f498e9cef7 (patch)
treefb807c0b0c20db34f5108df67da6b4d64e5bc8e6 /doc/el_pushenv.html
parent3fde941ae33bd70edf015b3c72997aef703ebf6d (diff)
downloadexecline-77a47b2c5e7c3243743bd8d7594366f498e9cef7.tar.xz
More modifications, and doc change
Diffstat (limited to 'doc/el_pushenv.html')
-rw-r--r--doc/el_pushenv.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/el_pushenv.html b/doc/el_pushenv.html
index d22ce9d..4c63dcc 100644
--- a/doc/el_pushenv.html
+++ b/doc/el_pushenv.html
@@ -94,7 +94,7 @@ printing the list of its arguments.
<pre>
#!/command/execlineb
elgetpositionals
- foreground { echo $0 $@ }
+ &semi; { echo $0 $@ }
prog $@
</pre>
@@ -106,7 +106,7 @@ positional parameters that have no meaning to it. A better script is:
<pre>
#!/command/execlineb
elgetpositionals
- foreground { echo $0 $@ }
+ &semi; { echo $0 $@ }
emptyenv -P
prog $@
</pre>
@@ -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>importas 1 1</tt>. </li>
+no <tt>$ 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