|
From: | Martijn Dekker |
Subject: | Re: [BUG] 'unset' fails silently under specific conditions |
Date: | Wed, 2 May 2018 15:48:21 +0100 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |