Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: alternative method for a simple for
- X-seq: zsh-users 14389
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: alternative method for a simple for
- Date: Tue, 15 Sep 2009 13:52:00 +0100
- In-reply-to: <200909151420.22122.joke.de.buhr@xxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20090915125419.3528@binki> <DF68D91D-30AC-4792-B24E-FB183E2325AD@xxxxxxxxxxx> <20090915130354.60f25d52@news01> <200909151420.22122.joke.de.buhr@xxxxxxxxx>
Joke de Buhr wrote:
> > +Many of zsh's complex commands have alternate forms. These are
> > +non-standard and are likely not to be obvious even to seasoned shell
> > +programmers; they should not be used anywhere that portability is a
> > +concern.
> >
> > The short versions below only work if var(sublist) is of the form
> > `tt({) var(list) tt(})' or if the tt(SHORT_LOOPS) option is set. For
> > the tt(if),
> >
>
> It would be nice to define the term portability in this case.
It's deliberately vague. It covers the case of other zsh users who may
not understand the variants because they don't use them. I can perhaps
eliminate any unnecessary ambiguity by saying "portability of shell
code".
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
Tel: +44 (0)1223 692070 Cambridge Silicon Radio Limited
Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, UK
Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
Messages sorted by:
Reverse Date,
Date,
Thread,
Author