Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Is quoting of the assigned value needed?
- X-seq: zsh-users 24461
- From: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: Is quoting of the assigned value needed?
- Date: Fri, 22 Nov 2019 15:06:13 +0000
- Cms-type: 201P
- Dkim-filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20191122150614euoutp027b69dbc240a6e43ca61fa364dbf95e0c~ZhHMWsaZ90118601186euoutp02l
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1574435174; bh=EKMJph/FO5ijv0SesV5faOw5GNOUyG+6GQTg5NIOmvA=; h=Subject:From:To:Date:In-Reply-To:References:From; b=hqBWj/XiB5bD+RVprLP0ubkibjciLTc8f6iM4Sl2naB/zu6kI9UwGLgEVIyjBdoeB uZPGCgmgbs5ewe5ROvxMEoA7/8eCeaxmp0Ih9UL80D7pzPVnuxzx69jzhTgAUQeBpG UImDRed8SV4LJ2nojuRhG224h5mNgQ/lN8fw/0UQ=
- In-reply-to: <CAKc7PVD=eParqe3BgkNP9imnSh4vrjN44fm9=hXPsZ1b=0oMLQ@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: <CGME20191122020437eucas1p128174332018d20a266f55007fcf271ba@eucas1p1.samsung.com> <CAKc7PVAUqWfNvvJi+k7A9qW7g9w3GqaUTXTML0yWo9fHGUuwbA@mail.gmail.com> <1574419508.4702.10.camel@samsung.com> <CAKc7PVD=eParqe3BgkNP9imnSh4vrjN44fm9=hXPsZ1b=0oMLQ@mail.gmail.com>
On Fri, 2019-11-22 at 16:01 +0100, Sebastian Gniazdowski wrote:
> I'm thinking on simplifying the plugin standard's proposed $0
> handling, which is currently:
>
> 0="${${ZERO:-${0:#$ZSH_ARGZERO}}:-${(%):-%N}}"
> 0="${${(M)0:#/*}:-$PWD/$0}"
>
> I.e.: about skipping the quoting. Before I do this is want to be
> completely sure that it'll always work.
Scalar assignment is always scalar assignment, yes. That's basically
the meaning of the text I quoted saying why GLOB_ASSIGN got moved out
to an option.
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author