Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: More rabbit-holes with unset variables
- X-seq: zsh-workers 47654
- From: Felipe Contreras <felipe.contreras@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: More rabbit-holes with unset variables
- Date: Thu, 26 Nov 2020 17:53:45 -0600
- Archived-at: <https://zsh.org/workers/47654>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-workers/2020-11/CAMP44s1pMOrXAYR%2BVO-acM0dc0KN7SUkcdGEF7RfanfDN8aHfg%40mail.gmail.com>
- Authentication-results: zsh.org; iprev=pass (mail-wm1-f47.google.com) smtp.remote-ip=209.85.128.47; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+/Wgr6rM3ejhkYq4Xs8dI1SJE+AsHCyj9sFWvQk/4yQ=; b=id2FZgY+6UCjp0G4Hpfozpj5xeFVRu1LdN0fzu5oOXwp1vzEqEnl5qVfGa5jhZ4U8u yGXqtpG3TIebjPRxojQ88JlhSl6wALEmwpUDI33DRpmoQYRH37Ot0zRXg1R4fHMRxrgL OXEgU3QYnUpgmBQ3M+8s0WlOOZPd5wQ0wZaHP1hgFSzG2vXEbjc/wee7HixNcxdygq4h aAEUEi1ecNf1U9GXLf2Y792UcNqOrTFE43yr2QDnraV/pPahEY2WnmZQdfkv0If3msDR TAnkznaPa7H+gxzkUpoHHRakdB4OvYzbP4FTjdMj8ok/kq0ccdFFov6y+TU/IB9Tkwmx 3rTA==
- In-reply-to: <CAH+w=7ZgzpTtjcnQ4mmZVAZzi=TE_m1dW0AZQm5oLhMDyG8pZg@mail.gmail.com>
- List-archive: <http://www.zsh.org/sympa/arc/zsh-workers>
- List-help: <mailto:sympa@zsh.org?subject=help>
- List-id: <zsh-workers.zsh.org>
- List-owner: <mailto:zsh-workers-request@zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-subscribe: <mailto:sympa@zsh.org?subject=subscribe%20zsh-workers>
- List-unsubscribe: <mailto:sympa@zsh.org?subject=unsubscribe%20zsh-workers>
- References: <CAH+w=7Zag5MG5D=cRS2UMSsqJ0t=iw5MH9j8=HBO1Q77nbs03w@mail.gmail.com> <20201125131921.vay7h3xk5qn4odgg@chazelas.org> <CAMP44s0-ki=TBzTwnqx10FcTLX4mbphwN88UCx0+h97JTecBWA@mail.gmail.com> <20201126061029.in5tpnrg5bplam5k@chazelas.org> <CAMP44s1XgxdDAAL+7nL3_GK=dZUasPmSWZaKqWg0T-v5iq1eYg@mail.gmail.com> <86243-1606389706.499549@-gQx.nNYG.4Z3k> <CAH+w=7bxavq4DMJtTmSAGTOSoXKsFaXPVyUAGqN1cZLF=+57JQ@mail.gmail.com> <CAMP44s3h2q42=y_fbts5mbgb8oYXYVxKrXQUS35k205X1i15OQ@mail.gmail.com> <CAH+w=7ZgzpTtjcnQ4mmZVAZzi=TE_m1dW0AZQm5oLhMDyG8pZg@mail.gmail.com>
- Sender: zsh-workers-request@xxxxxxx
On Thu, Nov 26, 2020 at 5:29 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> On Thu, Nov 26, 2020 at 1:31 PM Felipe Contreras
> <felipe.contreras@xxxxxxxxx> wrote:
> >
> > And you don't find it inconsistent that the internal value is
> > *different* from the exported value?
>
> That's a loaded question, because to answer it requires conceding that
> there exists an exported value from which the internal value differs.
> There's no way to "see" the export namespace without forking an
> external process, so only the internal value matters.
No. The exported value exists whether you decide to look at it or not.
> > Plus this:
> >
> > typeset -x FOO
> >
> > Is different than this:
> >
> > typeset -x FOO=""
> >
> > ?
If this is not inconsistent, then nothing is.
So I guess nothing zsh ever does can be inconsistent, by definition.
Cheers.
--
Felipe Contreras
Messages sorted by:
Reverse Date,
Date,
Thread,
Author