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

Re: numeric brace expansion



Richard Coleman wrote:
>  
> > 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.
> 

     Hmm, it does not look broken on Ultrix (on SunOS it is). It does
what it should (at least what I think it should).

hron% echo $ZSH_VERSION
2.6-beta9
hron% echo {1..20}
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

Leading zeroes work too.

							Bye, Marek

--
                                          Marek Andricik, nick Nevedko
                 andricik@xxxxxxxxxxxxxxx, andricik@xxxxxxxxxxxxxxxxxx
... theyJustTakeCareOfNumberOneAndNumberOneAintYouYouAintEvenNumberTwo
                                                          [FrankZappa]



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