Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Style question: Can this be written in a more elegant way?
- X-seq: zsh-users 10188
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Style question: Can this be written in a more elegant way?
- Date: Tue, 25 Apr 2006 10:03:58 -0700
- In-reply-to: <444E38FE.6080702@xxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <6F0CB04509C11D46A54232E852E390AC013D956D@xxxxxxxxxxxxxxxxxxxxxxxxxx> <444C8C0B.6090409@xxxxxxxxxxxxxxxxxx> <060424082135.ZM390@xxxxxxxxxxxxxxxxxxxxxx> <444DD5D8.2030409@xxxxxxxxxxxxxxxxxx> <060425074145.ZM1844@xxxxxxxxxxxxxxxxxxxxxx> <444E38FE.6080702@xxxxxxxxxxxxxxxxxx>
On Apr 25, 4:58pm, Marc Chantreux wrote:
}
} what i expect is to treat only the nth element of the list.
Yes, I know, but I explained why that doesn't happen:
> the meaning of (e:...:) is that the result of executing the commands
> determines whether or not the file participates in the glob result. So
> the commands must be executed for every file, and this happens before
> the sorting.
If it happens before sorting, it must also happen before selecting any
of the elements from the sorted result.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author