1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-05-12 18:46:16 +02:00

unposted: mention former behavior of typeset for comparison

This commit is contained in:
Barton E. Schaefer 2016-10-26 20:50:51 -07:00
parent 364c4047e7
commit 12e862764f
2 changed files with 3 additions and 1 deletions

3
NEWS
View File

@ -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
-------------------------

1
README
View File

@ -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
---------------------------------------