From 12e862764f2cf8e6bc27968fd5d00a62b4a9e882 Mon Sep 17 00:00:00 2001 From: "Barton E. Schaefer" Date: Wed, 26 Oct 2016 20:50:51 -0700 Subject: unposted: mention former behavior of typeset for comparison --- NEWS | 3 ++- README | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 35e0e2e5d..433703a1e 100644 --- a/NEWS +++ b/NEWS @@ -16,7 +16,8 @@ recommended to review uses of ':A' and, if appropriate, convert them to ':P' as soon as compatibility with 5.2 is no longer a requirement. The output of "typeset -p" uses "export" commands or the "-g" option -for parameters that are not local to the current scope. +for parameters that are not local to the current scope. Previously, +all output was in the form of "typeset" commands, never using "-g". Changes from 5.1.1 to 5.2 ------------------------- diff --git a/README b/README index 1a2e73936..855e76492 100644 --- a/README +++ b/README @@ -114,6 +114,7 @@ with other shells. 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. +Previously, only "typeset" commands were output, never using "-g". Incompatibilities between 5.0.8 and 5.2 --------------------------------------- -- cgit 1.4.1