diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2019-06-06 08:26:23 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2019-06-06 08:26:23 +0300 |
commit | d713f4ed5193143bc16c40c2fd5096628082c047 (patch) | |
tree | 19a8b997796b0c3604277418b65656cbd8c4a5d3 /NEWS | |
parent | b220b5a367469c571358c34ea0df813522e99485 (diff) | |
download | pies-d713f4ed5193143bc16c40c2fd5096628082c047.tar.gz pies-d713f4ed5193143bc16c40c2fd5096628082c047.tar.bz2 |
Change syntax of the env.clear statement.
It no longer requires an argument. The correct syntax is
env {
clear;
}
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -1,4 +1,4 @@ -GNU Pies NEWS -- history of user-visible changes. 2019-06-03 +GNU Pies NEWS -- history of user-visible changes. 2019-06-06 See the end of file for copying conditions. Please send Pies bug reports to <bug-pies@gnu.org> or @@ -43,12 +43,12 @@ contains redirections, pipes, etc. E.g. The 'env' statement has been re-implemented as a compound statement. It can contain the following sub-statements: -** clear yes +** clear Clears the environment ** keep NAME Keeps the variable NAME when clearing the environment. Implies -"clear yes". NAME can be a globbing pattern, in which case all +"clear". NAME can be a globbing pattern, in which case all variables matching the pattern are retained. ** set "NAME=VALUE" @@ -62,11 +62,11 @@ variables matching the pattern are unset. Example: env { - clear yes - keep PATH - keep MANPATH - keep "LC_*" - set "MANPATH=$MANPATH${MANPATH:+:}/usr/local/man" + clear; + keep PATH; + keep MANPATH; + keep "LC_*"; + set "MANPATH=$MANPATH${MANPATH:+:}/usr/local/man"; } * Legacy 'env' statement. |