Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: What's the reasoning behind z & s returning nular for empty input?
- X-seq: zsh-users 24415
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Roman Perepelitsa <roman.perepelitsa@xxxxxxxxx>
- Subject: Re: What's the reasoning behind z & s returning nular for empty input?
- Date: Sat, 9 Nov 2019 09:40:28 +0100
- Cc: Zsh Users <zsh-users@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:content-transfer-encoding; bh=9rksqrAZlKCcXngvmSC/K0rOReSWA0lDZSCQrj1JA5w=; b=q/ZrvJQ/bqgmcE3z4qo0HzsnjtuOiHMEnt3O5o3MxTjtZg2OVOlHkhkCYYMR4kc/4r LawBlmtoF02Y0B1G148QSXM1Df1CqnvQURjQN2zxuQNcZkV9J1mKrt6VePS/8ugiABvE +zPpoTnuejvv+3zBizdTUEgY+MyTGMzKXmyqlggRmeSzCxj2Mol7XcbjCH79YqUwqLJQ +OJOTTdyjtJ+XpdnRRn/rfeIwwbYfvmSd3apbm9SnrjKtTjSHlxIi6O3kyRMK9e9wxWY Xuil0sua9WDDNZfSaV+Nw+41JIowIwycbov/AkZ7Uyc5n1QEhqJ5j8enJmK8qn4nVUum Fp6g==
- In-reply-to: <CAN=4vMpOPy_kecd_EweP7OL5RJUpBNbfAcJUtYxbHPZZq0UV-g@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CAKc7PVCD7e=vATDBc7px1d4XNYiKu1=2iZP9YaJ5PutgsDTsoQ@mail.gmail.com> <CAN=4vMpj91iZzOgLNNcUzb4UuTDEAiFxkjyuAa76hqqaQjnFBg@mail.gmail.com> <CAKc7PVCArzvg+Tmqwo7xQwYjBSz8sEnJwYPjZ=T0BETHsYsjXQ@mail.gmail.com> <CAN=4vMpOPy_kecd_EweP7OL5RJUpBNbfAcJUtYxbHPZZq0UV-g@mail.gmail.com>
On Sat, 9 Nov 2019 at 09:22, Roman Perepelitsa
<roman.perepelitsa@xxxxxxxxx> wrote:
>
> On Sat, Nov 9, 2019 at 9:11 AM Sebastian Gniazdowski
> <sgniazdowski@xxxxxxxxx> wrote:
> > Thanks for the analysis. The additional problem is that quoted but
> > @-lacking s-flag should still elide the empty elements, as the manual
> > states. So this is an intentional exception and I wonder why it has
> > been added?
>
> Here's the passage from zshexpn:
Yes, I was also referring to this fragment, however it states that the
empty elements should be removed, and even – that they should be
removed more eagerly, so I still wonder why produce a nular for an
empty input?
--
Sebastian Gniazdowski
News: https://twitter.com/ZdharmaI
IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin
Blog: http://zdharma.org
Messages sorted by:
Reverse Date,
Date,
Thread,
Author