Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: alternative method for a simple for



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