Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: shortloops for while?
- X-seq: zsh-users 12975
- From: Stephane Chazelas <Stephane_Chazelas@xxxxxxxx>
- To: Richard Hartmann <richih.mailinglist@xxxxxxxxx>, Zsh Users <zsh-users@xxxxxxxxxx>
- Subject: Re: shortloops for while?
- Date: Tue, 17 Jun 2008 14:59:47 +0100
- In-reply-to: <20080617135632.GM5016@xxxxxxxxxxxxxxx>
- Mail-followup-to: Richard Hartmann <richih.mailinglist@xxxxxxxxx>, Zsh Users <zsh-users@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <2d460de70806170642v5340abf9o79af3460c4e1008d@xxxxxxxxxxxxxx> <20080617135632.GM5016@xxxxxxxxxxxxxxx>
On Tue, Jun 17, 2008 at 02:56:32PM +0100, Stephane Chazelas wrote:
[...]
> You can use the short version only when list1-of-commands is
> ((...)) or [[...]] and list2-of-commands is bound by {} or ().
[...]
Sorry, not (), only {}:
while ((1)) {echo foo}
But not
while ((1)) (echo foo)
--
Stéphane
Messages sorted by:
Reverse Date,
Date,
Thread,
Author