Op 02-05-18 om 15:38 schreef Greg Wooledge:
*NOW* there's evidence of a local variable, because unset removes it and exposes the global.
Right. That's what triggered my initial report, in which I confused that phenomenon for a failure of the 'unset' command to unset the variable.
But it's not "permanently exported" as far as I can see.
Sorry for the inexact use of language -- I simply meant that the global scope of the variable acquired the export flag, as opposed to the function-local scope.
- M.