From d713f4ed5193143bc16c40c2fd5096628082c047 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Thu, 6 Jun 2019 08:26:23 +0300 Subject: Change syntax of the env.clear statement. It no longer requires an argument. The correct syntax is env { clear; } --- NEWS | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index eee1e25..4ee1ae5 100644 --- a/NEWS +++ b/NEWS @@ -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 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. -- cgit v1.2.1