From 2f3be6973c2c4bd7f4920f55c5e1ebea4cd79193 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sun, 25 Jun 2023 16:59:47 +0000 Subject: Doc formatting fixes Signed-off-by: Laurent Bercot --- doc/el_pushenv.html | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'doc/el_pushenv.html') diff --git a/doc/el_pushenv.html b/doc/el_pushenv.html index d22ce9d..5f3ac98 100644 --- a/doc/el_pushenv.html +++ b/doc/el_pushenv.html @@ -35,10 +35,8 @@ commands in the execline language via the runblock command was impossible.

- -

- To solve that issue, execline now implements a kind of environment +

To solve that issue
, execline now implements a kind of environment stack. When execlineb reads the arguments, it does not overwrite the positional parameters, but pushes them on a stack: @@ -62,10 +60,8 @@ frame of positional parameters, without paying attention to the deeper levels.

-
-

- When you are done with the arguments, it is advisable to drop +

When you are done with the arguments
, it is advisable to drop the current frame, and pop the environment stack to get it back to its previous state:

@@ -116,9 +112,9 @@ which will run prog with the same environment as the script's caller.

-
- +

Substituting positional parameters without touching the environment

+

Most of the time, you just need to substitute the positional parameters -- cgit 1.4.1