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-users 1228
- From: Danek Duvall <duvall@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxxx
- Subject: Re: I've forgotten again how to do this --> 0-100
- Date: Wed, 14 Jan 1998 19:46:53 -0500
- In-reply-to: <199801150012.TAA07173@xxxxxxxxxxxxxxx>; from Timothy J Luoma on Wed, Jan 14, 1998 at 07:12:21PM -0500
- References: <199801150012.TAA07173@xxxxxxxxxxxxxxx>
> 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
for i in {0..100}; do
echo $i
done
> ps -- what is this actually called, so I can possibly find it in the man pages ?
brace expansion, I believe.
Danek
Messages sorted by:
Reverse Date,
Date,
Thread,
Author