Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug with unset variables
- X-seq: zsh-workers 47682
- From: "Daniel Shahaf" <d.s@xxxxxxxxxxxxxxxxxx>
- To: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: Bug with unset variables
- Date: Fri, 27 Nov 2020 23:37:29 +0000
- Archived-at: <https://zsh.org/workers/47682>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-workers/2020-11/564f91d0-fb87-4472-a566-a5e261ef8ae7%40www.fastmail.com>
- Authentication-results: zsh.org; iprev=pass (out5-smtp.messagingengine.com) smtp.remote-ip=66.111.4.29; dkim=pass header.d=daniel.shahaf.name header.s=fm2 header.a=rsa-sha256; dkim=pass header.d=messagingengine.com header.s=fm1 header.a=rsa-sha256; dmarc=none header.from=daniel.shahaf.name; arc=none
- Cc: "Felipe Contreras" <felipe.contreras@xxxxxxxxx>, "Zsh hackers list" <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=mime-version:message-id:in-reply-to :references:date:from:to:cc:subject:content-type; s=fm2; bh=1P6J Y3fanNvneJwnfwVxJidwdbm5Y27G9ZtcLwfjjZU=; b=RA/UDDr9wO945AN9bcjC Lb4yocmuIpDUWTQkVEmxcmQlRSpW73NRTBa95gUqsyDGVIZpAF0iEjUstjzNlGqz 7aDSYmViiO5PN6QPgNudQm+zh75TLkG19EeXSj2Wmsd6WaoAlQr2LFftXNJnGlY0 m1zh3dLTQM9Oq3mXOqXz7nciZ+v7hv52b2WTinWqewMuuyA3ALIRY7HCyLFXiPFV PJlSR/4OICRyUTUFS569OI292eTifSdxjZOdBdD+Bwue3mEA9t/YjbebSq3lDfbz JfpvYQtSnwYcra3F3uX7yJPUg72omIsbo4mXCvxq6fRSBdtaEfGdVYBTIsyknEz6 ng==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=1P6JY3 fanNvneJwnfwVxJidwdbm5Y27G9ZtcLwfjjZU=; b=hiVqIQkNW8rql/fB2WUvNa 7mvT9riobwmrzQiniyANW0fm4CFeniutYzjWeCA+RMkAfHK7vuo++g6rsvwxjcwI Q2kj1f3tQrfb0KIYVFMaVyWsyfheTBuzfLF5S31diXSgfTbMtTc8HAxJRLUakQL1 ny48H29ZA3MwYPydKr4RNsjos+St0MJCIPtHIDJGrGrIGRBxbgIqUMj0c6umlVkv ewuuPj+DTPuQ3GexpOQMi2gbcxjEcP8EpmznE2iMXcJUVKHHBMVVodTGfuiw5il+ WrFev7eg2YeTzhzPkRXd2UhhI3aiEkoQV8y806llSZ4/N54dLh9JOOuNM+ohgirA ==
- In-reply-to: <CAH+w=7Yfo4c-ONVD0DeDXoNA2r9FyUhGj_BtxTvMuuwuHt42ag@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: <CAN=4vMqr-MBuzikqkSJEnY5=hW6xjv_TcW_paZV9oKEXnDsmrw@mail.gmail.com> <CAMP44s0sU0B1fQq=BEJV+jp_jtjxpFbz6K=wqNpukLK4i31P4g@mail.gmail.com> <CAH+w=7a3vOa2+YXpOS0eCGTr_TGNe1uhPBu+B1Xb_4OmmhJk1A@mail.gmail.com> <CAMP44s2LRtJLMc-RWX6_o7qO_cshfcuWL0-NtrWfqYp9o7HcEA@mail.gmail.com> <CAH+w=7YZQA=vhA=-jVzYLvP_XmrN6f5Ra8TH5LsMrza8GVsKvQ@mail.gmail.com> <CAMP44s1m3zNAeZ9Gn3XcG0pHeavD9K_eXOjZz3LGoUvdpzucVA@mail.gmail.com> <CAH+w=7bhs3BVrBMjbcxPhrxh0fXMKeBVooNknLts+4QxHQYOZA@mail.gmail.com> <CAMP44s0QMzJuMPoMZ1BR=+Y2_n4iEE-coXVtmFTdaHj4AuxTVw@mail.gmail.com> <CAH+w=7Z+Brh5KfwUJakoaKfQ39WQbYoRELyfpu3YO1Ro-Ewvfg@mail.gmail.com> <CAMP44s1RLs-ASYFyvjvj7eGta5_WnsXSH_8jAXf-Zufk569E1Q@mail.gmail.com> <20201127154439.GC26720@tarpaulin.shahaf.local2> <CAMP44s2mkpWF-2coUW6u-9W03puSDdhSoF_HNdVbSqohpxvLkQ@mail.gmail.com> <3246311e-c4b2-48f3-8baa-d271591f0029@www.fastmail.com> <CAH+w=7Yfo4c-ONVD0DeDXoNA2r9FyUhGj_BtxTvMuuwuHt42ag@mail.gmail.com>
- Sender: zsh-workers-request@xxxxxxx
Bart Schaefer wrote on Fri, 27 Nov 2020 21:33 +00:00:
> On Fri, Nov 27, 2020 at 1:00 PM Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
> >
> > What two ways?
>
> 1) makes var a local name
> 2) changes the result of ${var-other}
See the third hunk of workers/47576 in combination with my last answer.
The best way to move forward would be to write a patch against the Test/
directory that specifies the proposed behaviour. Use the "f" flag so
all newly-added tests will run, rather than just the first.
Daniel
Messages sorted by:
Reverse Date,
Date,
Thread,
Author