Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: I've forgotten again how to do this --> 0-100
- X-seq: zsh-workers 3710
- From: Wessel Dankers <wsl@xxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx
- Subject: Re: I've forgotten again how to do this --> 0-100
- Date: Thu, 15 Jan 1998 17:16:05 +0100 (MET)
- In-reply-to: <199801150012.TAA07173@xxxxxxxxxxxxxxx>
- Reply-to: Wessel Dankers <wsl@xxxxxxxxx>
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