Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: More rabbit-holes with unset variables
- X-seq: zsh-workers 47653
- 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:45:36 -0600
- Archived-at: <https://zsh.org/workers/47653>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-workers/2020-11/CAMP44s0WSt_J7TjyPEKvH9TxzWBvTVFTB-pK26G%2B9SacYeQrAw%40mail.gmail.com>
- Authentication-results: zsh.org; iprev=pass (mail-wr1-f45.google.com) smtp.remote-ip=209.85.221.45; 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=B/w7Khu9hwdyvUtZPG9gd8uUMv6WTZh5aiS6/WXVXxY=; b=PywqjAQRtmCIazU9Skfo5ruJxcoOndDouBOno9uWp3EFBdzC3YcaoNLPTgoz+Pi32B yX58E4UXhvue3/DE9yO2fhIyFrVzYCa/VtfhkQPDemb8zxk5jB04qJNEMORrf9VJ2xda NXKXP5aW/l3He2i7eEAT33vkyDnz+OgMvV7Y7ygMZvEfHN+8wJJ8aL14aoY+JNre7ryZ y5nTNgXyF9TV9yYB62nnEi2mft3OF0KKsDNhGNWqpLrwFicYQi8DNMfRPYjBWtSRa7Bs W57apSMCPRI+Mjw6nibK0RsrIdE6bZ2oVWwNJUrcApLtuaiKGFc9f2o6XoF1odCBZAcv jpTg==
- In-reply-to: <CAH+w=7bHCrpwbkZBOgwjwF7M9uo+1_ZEa53hxSwE2fuuBuQfyw@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> <CAH+w=7bs9E7whJLugMLOXG05R-2S8Hjt+OOKK_KN+SMxv-Vvaw@mail.gmail.com> <CAMP44s2Ge-pOn1-gEXkq=oJX7ohL-b_20s9mJZAo1LB=ow+Duw@mail.gmail.com> <CAH+w=7bHCrpwbkZBOgwjwF7M9uo+1_ZEa53hxSwE2fuuBuQfyw@mail.gmail.com>
- Sender: zsh-workers-request@xxxxxxx
On Thu, Nov 26, 2020 at 4:41 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> On Thu, Nov 26, 2020 at 1:21 PM Felipe Contreras
> <felipe.contreras@xxxxxxxxx> wrote:
> >
> > I asked who objected to the specific behavior I quoted.
>
> I'm not going to dig through the austin-group archives to try to
> distinguish which of the two parts of the quoted behavior (inherit, or
> otherwise not set) was the source of anyone's objection. I concede
> that the explanatory paragraph in the rationale did not call out
> either of those behaviors.
The question was not addressed to you, but to the person that brought
up the bug report.
A quick look at the bug report doesn't show anyone objecting to that.
> > On Thu, Nov 26, 2020 at 2:42 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> >
> > > so a the only useful "declared but not set" variable is a simple
> > > scalar.
> >
> > And by scalar I suppose you mean string.
>
> I mean the simplest form of what zsh refers to as "scalar" internally.
> Yes, that's ordinarily representable in C by "char[]", but in the
> abstract that doesn't matter.
Strings in C are typically declared as "char *", not "char []".
--
Felipe Contreras
Messages sorted by:
Reverse Date,
Date,
Thread,
Author