From 0f5e670cde5f844680a20f986786249dfe983584 Mon Sep 17 00:00:00 2001 From: "Barton E. Schaefer" Date: Mon, 24 Oct 2016 07:14:39 -0700 Subject: "typeset -p" uses "export" commands or the "-g" option for parameters that are not local to the current scope --- README | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'README') diff --git a/README b/README index ed2183d8d..1a2e73936 100644 --- a/README +++ b/README @@ -110,6 +110,11 @@ possible to return a non-zero status to the parent shell from a command executed as a replacement, and the new implementation is more consistent with other shells. +7) The output of "typeset -p" (and synonyms) now takes into account the +function scope and export state of each parameter. Exported parameters +are output as "export" commands unless the parameter is also local, and +other parameters not local to the scope are output with the "-g" option. + Incompatibilities between 5.0.8 and 5.2 --------------------------------------- -- cgit 1.4.1