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

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



Timothy J Luoma wrote:
>for i in 0-100; do
>	echo $i
>done

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

takes less memory than the brace expansion method.

-zefram



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