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

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



On Wed, 14 Jan 1998, Timothy J Luoma wrote:

> I know this is dumb, and I know I've asked before, and I know I should be  
> able to figure it out.
> 
> Ignorance, expressed, I'll still ask:
> 
> if I want to make a loop to go from 0 to 100, how do I do that?
> 
> for i in 0-100; do
> 	echo $i
> done
> 
> but the "0-100" part is the part I can never remember....

I suggest that you, as a punishment, write it out in full. :-)

--
Wessel Dankers





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