2017-03-13 18:20:11 +0000, Thorsten Glaser: > Jean Delvare dixit: > > >A customer of ours has reported the following difference in behavior > >between mksh and ksh-93: unsetting a local variable causes mksh to > > Do note that ksh93 has static scoping, unlike ALL other shells > which have hierarchical dynamic scoping comparable to other > programming languages. [...]
Strictly speaking, there's also the "private" keyword in zsh for static scoping (in zsh/param/private module). -- Stephane