From: Bart Schaefer <schaefer@brasslantern.com>
To: Mikael Magnusson <mikachu@gmail.com>
Cc: Zach Riggle <zachriggle@gmail.com>, Zsh Users <zsh-users@zsh.org>
Subject: Re: Odd behavior of quoted Zsh array subtraction
Date: Fri, 23 Jul 2021 10:34:58 -0700 [thread overview]
Message-ID: <CAH+w=7ZKQTQCGj_Fs7j_CYH5K8x8wBZ1aTd0Sh_HrYpZNtPWcQ@mail.gmail.com> (raw)
In-Reply-To: <CAHYJk3RUZU_asuveWhDt4dpcLuBcYJW8b0BP8RK6+ycb7SpTpg@mail.gmail.com>
On Fri, Jul 23, 2021 at 2:51 AM Mikael Magnusson <mikachu@gmail.com> wrote:
>
> You are in particular interested in the ordering relation between
> item 5 and item 7. [...] if the
> current level is double quoted then words will be joined before
> history modifiers are applied.
This is correct, but item 7 sort of sweeps up :| and :* (etc.) by
accident, because they aren't really history modifiers. For example,
// is called out explicitly there, but :/ is not. Item 7 has not been
kept up to date with several of the more recently added forms of
parameter manipulation.
prev parent reply other threads:[~2021-07-23 17:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-23 9:39 Zach Riggle
2021-07-23 9:51 ` Mikael Magnusson
2021-07-23 11:38 ` René Neumann
2021-07-23 17:34 ` Bart Schaefer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAH+w=7ZKQTQCGj_Fs7j_CYH5K8x8wBZ1aTd0Sh_HrYpZNtPWcQ@mail.gmail.com' \
--to=schaefer@brasslantern.com \
--cc=mikachu@gmail.com \
--cc=zachriggle@gmail.com \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).