From: Peter Stephenson <p.w.stephenson@ntlworld.com>
To: zsh-users@zsh.org
Subject: Re: trivial question
Date: Tue, 6 Dec 2022 11:21:47 +0000 (GMT) [thread overview]
Message-ID: <774550684.6679506.1670325707995@mail.virginmedia.com> (raw)
In-Reply-To: <CAN=4vMpxtSoQpqwutdF9UGswr9Sy4PPaHyouJAfSjUmkcOP0Jg@mail.gmail.com>
> On 06/12/2022 10:18 Roman Perepelitsa <roman.perepelitsa@gmail.com> wrote:
> On Tue, Dec 6, 2022 at 5:30 AM Bart Schaefer <schaefer@brasslantern.com> wrote:
> > The cases where it is going to perform globbing are more universal
> > than those where it is not.
>
> I know that filename generation is performed in these places:
>
> - On words of a simple command.
> - Within array initializers.
> - Within for loop initializers.
>
> You can also enable it in some places with (#q). Are there any other
> places where filename generation takes place? I cannot find this in
> the docs.
There's the special case of the GLOB_ASSIGN option where all
assignments, not just arrays, undergo globbing. That's for
compatibility with early versions of zsh, otherwise it's very
confusing.
pws
next prev parent reply other threads:[~2022-12-06 11:22 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-05 2:05 Ray Andrews
2022-12-05 2:52 ` Lawrence Velázquez
2022-12-05 5:20 ` Ray Andrews
2022-12-05 6:40 ` Lawrence Velázquez
2022-12-05 14:11 ` Ray Andrews
2022-12-06 2:12 ` Lawrence Velázquez
2022-12-06 2:29 ` Ray Andrews
2022-12-06 4:29 ` Bart Schaefer
2022-12-06 6:08 ` Lawrence Velázquez
2022-12-06 10:18 ` Roman Perepelitsa
2022-12-06 11:21 ` Peter Stephenson [this message]
2022-12-06 15:28 ` Ray Andrews
2022-12-06 18:53 ` Bart Schaefer
2022-12-07 0:02 ` Lawrence Velázquez
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=774550684.6679506.1670325707995@mail.virginmedia.com \
--to=p.w.stephenson@ntlworld.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).