Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Is quoting of the assigned value needed?
- X-seq: zsh-users 24462
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- Subject: Re: Is quoting of the assigned value needed?
- Date: Fri, 22 Nov 2019 17:26:50 +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; bh=zu74G9pr3kwCqlxGYnQjCMKR9AGdA72+FwjR4/ECc/c=; b=M0/4CFxU9CNiSE7DAHxJUrt01M7VToTT8Z4m3yrevvwlYy/izFAAnAdeEUmezt9oQd EkD8SBDQOWR5TSqp25decAOOkKbSgICoJn3bOipjxs99LGiSF4RrwbL2NmPpsqdNRZrk IXMBY61jABKcMjzVF8Y0+c+CIZGaFK7+hHsF93szr+xcAXJVwz/F1moqsIYIT4LFGAM3 wRYDv1ZiVEiZHWm0Nn595EFNb0aSgrekIe4QdYcLeYjA9sYtOsFpdeUL6v+Gf7XEGhln i8vyiUQob0SyeEHcLg+GiNK8pmeqNlBYy8VlqEcXmhK8u2gcPz4Pdxf1gbx55sOMd4zn HtOw==
- In-reply-to: <1574435173.4702.34.camel@samsung.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> <1574435173.4702.34.camel@samsung.com>
On Fri, 22 Nov 2019 at 16:08, Peter Stephenson <p.stephenson@xxxxxxxxxxx> wrote:
>
> 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.
Thanks!
--
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