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

Re: I've forgotten again how to do this --> 0-100



Brandon C. George wrote:
>Is there a switch I need to do something like this?

You need zsh-3.1.something.  On earlier versions you can still do

integer i=0
while ((i<=100)); do
	echo $i
	((i++))
done

-zefram



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