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

Re: numeric brace expansion



>      An expression of the form {n1..n2},  where  n1  and  n2  are
>      integers,  is  expanded  to  every number between n1 and n2,
>      inclusive.  If either number begins with  a  zero,  all  the
>      resulting numbers will be padded with leading zeroes to that
>      minimum width.  If the numbers are in decreasing  order  the
>      resulting sequence will also be in decreasing order.
>  
> 
> This doesn't work at all for me.
> >echo {01..03}
> . 0 1 3
> 
> I figure there has to be some option I haven't set.  Could someone clue 
> me in here?

This is broken on both beta8/beta9 (and maybe beta7).  It will
be fixed in beta10 (by the end of the week).  To fix this now,
you should be able to undefine HAVE_STRTOL in config.h and recompile.

Richard Coleman
coleman@xxxxxxxxxxxxxxx



Messages sorted by: Reverse Date, Date, Thread, Author