Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: "break" and functions
- X-seq: zsh-workers 52856
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: "break" and functions
- Date: Fri, 29 Mar 2024 15:02:37 -0700
- Archived-at: <https://zsh.org/workers/52856>
- In-reply-to: <CAHYJk3S=FcrbcY+79R1uPC9k7Bv9kH0-CCo6z8b=rot5bpcjjQ@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CAH+w=7bb9BKUCvqCb=A-Qw36+HVn-NszP2DfQeXsYmKs-HVWFg@mail.gmail.com> <43539-1711733926.063834@011r.oEGd.QZp_> <CAH+w=7acsf9YYrOeS6GPWSffm4p4=-rU6YONsBAhJg20=S1b7Q@mail.gmail.com> <CAHYJk3S=FcrbcY+79R1uPC9k7Bv9kH0-CCo6z8b=rot5bpcjjQ@mail.gmail.com>
On Fri, Mar 29, 2024 at 2:15 PM Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
>
> On Fri, Mar 29, 2024 at 7:51 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> > IIRC the entire glob loop finishes and then any (e) actions are
> > applied to the resulting list.
>
> This is not the case
Ah, OK. I was thinking of order of operations. E.g. this:
print -l **/*(@e:'x+=($REPLY)':)
is not the same as this:
print -l **/*(e:'x+=($REPLY)':@)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author