From: Mikael Magnusson <mikachu@gmail.com>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: Perry Smith <pedz@easesoftware.com>, Zsh Users <zsh-users@zsh.org>
Subject: Re: Is this a bug?
Date: Tue, 19 Apr 2022 19:13:42 +0200 [thread overview]
Message-ID: <CAHYJk3ReponW2rTV7OBG_sAxXoDhWm6Ds68QujEF-p=weRhd4Q@mail.gmail.com> (raw)
In-Reply-To: <CAH+w=7ZPORLXe2VrkLPwJk=0LH+gnRjqZ5kLq+J9mAog=reYaQ@mail.gmail.com>
On 4/19/22, Bart Schaefer <schaefer@brasslantern.com> wrote:
> On Tue, Apr 19, 2022 at 5:34 AM Perry Smith <pedz@easesoftware.com> wrote:
>>
>> Now I need to go read zshall and find out how to do “all except
>> ‘Volumes’”
>
> I don't think it's possible in any straightforward way.
> ((^Volumes)/)# can match the empty string, so you just end up
> searching into Data//Volumes (note doubled slash) instead. And
> **/*~Volumes(D) doesn't filter until after the recursion.
Hmm?
% mkdir -p {a,Volumes}/{b,Volumes}/{c,Volumes}
% print -l ((^Volumes)/)#
a/
a/b/
a/b/c/
--
Mikael Magnusson
next prev parent reply other threads:[~2022-04-19 17:14 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-19 2:02 Perry Smith
2022-04-19 3:05 ` Bart Schaefer
2022-04-19 12:33 ` Perry Smith
2022-04-19 16:53 ` Bart Schaefer
2022-04-19 17:13 ` Mikael Magnusson [this message]
2022-04-19 21:06 ` Bart Schaefer
2022-04-19 21:53 ` Mikael Magnusson
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='CAHYJk3ReponW2rTV7OBG_sAxXoDhWm6Ds68QujEF-p=weRhd4Q@mail.gmail.com' \
--to=mikachu@gmail.com \
--cc=pedz@easesoftware.com \
--cc=schaefer@brasslantern.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).