Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14082 > unrolled thread

Re: [BUG] 'unset' fails silently under specific conditions

Started byMartijn Dekker <martijn@inlv.org>
First post2018-05-02 15:48 +0100
Last post2018-05-02 15:48 +0100
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [BUG] 'unset' fails silently under specific conditions Martijn Dekker <martijn@inlv.org> - 2018-05-02 15:48 +0100

#14082 — Re: [BUG] 'unset' fails silently under specific conditions

FromMartijn Dekker <martijn@inlv.org>
Date2018-05-02 15:48 +0100
SubjectRe: [BUG] 'unset' fails silently under specific conditions
Message-ID<mailman.13280.1525272515.27995.bug-bash@gnu.org>
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.

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web