On Fri, Feb 16, 2024 at 10:29 PM Bart Schaefer wrote: > > Traced this to here: > > >> commit f99f7dca7552d21782354f675c0741896c9785f1 > >> Author: Peter Stephenson > >> Date: Mon Oct 8 10:10:42 2018 +0100 > >> > >> 43616: Various parameter setting and display fixes. > > in the context of explicitly asking for "typeset -p foo" it surely > ought to print ... something? How about this? It skips PM_RO_BY_DESIGN for any parameter not declared in the same scope where "typeset -p" is being run. This means that in addition to displaying parameters declared private, it'll show cases where "local +h" has been used to shadow a special. No doc included in this patch, but we should probably mention somewhere that "typeset -p" no longer displays values for the special parameters $!, $#, $-, $*, $@, $$, $?, $ARGC, etc. (unless "local +h" per above) This is actually a change in 5.9 vs. 5.8 that was not included in the NEWS file. Should it also be in the Doc?