Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: More rabbit-holes with unset variables
- X-seq: zsh-workers 47659
- From: Felipe Contreras <felipe.contreras@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: More rabbit-holes with unset variables
- Date: Thu, 26 Nov 2020 19:30:18 -0600
- Archived-at: <https://zsh.org/workers/47659>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-workers/2020-11/CAMP44s2ZJg75KEh%2BvL%2BEUOgJUF%2BoB6TLn5-1h55ktcKR67ZeJg%40mail.gmail.com>
- Authentication-results: zsh.org; iprev=pass (mail-wr1-f41.google.com) smtp.remote-ip=209.85.221.41; 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=FM82vuo/1kw34joo9kEVm2FrdNu9PbuuXmvqBIEkz9w=; b=eyFpsP6KnYQWoVtZTOXp4zwDWClw89E6FVRekxzxhXt9MKNLDy8YO2ueP2J/E6CNbC otK3Ycp5XzyLz4oH8yAJMNBDbjbC46PgruBHkeea8gNRCT7h0V02uNhAztxcJDYsZmTM NnfMUghHrMeeA4TdD3FDiL93klxPctNTSDUzu7f+a7Z8zt+ThGGHvxk0+8NgVBBPU41U H+7zVkTkAuusa5p+9/Z4TEaXIhdQo3x0waD1tgS3U+oOdSmuFGz4QLWVdXaUE017s5L7 PE9FkK48AMvrqRSoeMVqN3VctXNK7cYCO82bjJjyyPBlBB41urCdMebTMvpgZuQmXFW7 UQog==
- In-reply-to: <CAH+w=7ZVthOMB=jJ+KkU1WipL2mbCgD69HfUtxGnu6Mbx1rOog@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> <CAMP44s0WSt_J7TjyPEKvH9TxzWBvTVFTB-pK26G+9SacYeQrAw@mail.gmail.com> <CAH+w=7YtBvrpuXUM=MuHVRuBjf8uiRozKLJsHvYXJr9Cx=J-rQ@mail.gmail.com> <CAMP44s3s0dXtirZhi5e_Tir+3KKn2Kw4hseEj0uH12a7HB5Y=Q@mail.gmail.com> <CAH+w=7ZVthOMB=jJ+KkU1WipL2mbCgD69HfUtxGnu6Mbx1rOog@mail.gmail.com>
- Sender: zsh-workers-request@xxxxxxx
On Thu, Nov 26, 2020 at 6:52 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> I mentioned scalars.
>
> You "supposed" that meant strings.
>
> I clarified strings were not what I meant.
You said this:
> > I mean the simplest form of what zsh refers to as "scalar" internally.
What zsh refers to as "scalar" internally is a string:
char *str; /* value if declared string (PM_SCALAR) */
From Src/zsh.h (struct param).
So if you didn't mean string, what did you mean?
And what did you mean by 'so a the only useful "declared but not set"
variable is a simple scalar'?
What simple scalar other than a string is useful "declared but not set"?
--
Felipe Contreras
Messages sorted by:
Reverse Date,
Date,
Thread,
Author