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 1232
- From: "Brandon C. George" <brandon@xxxxxxxxxxxxxx>
- To: Andrew Main <zefram@xxxxxxxxx>
- Subject: Re: I've forgotten again how to do this --> 0-100
- Date: Thu, 15 Jan 1998 11:39:04 -0600
- Cc: zsh-users@xxxxxxxxxxxxxxx
- In-reply-to: <199801151028.KAA21473@xxxxxxxxxxxxxxxx>; from Andrew Main on Thu, Jan 15, 1998 at 10:28:37AM +0000
- References: <199801150012.TAA07173@xxxxxxxxxxxxxxx> <199801151028.KAA21473@xxxxxxxxxxxxxxxx>
On Thu, Jan 15, 1998 at 10:28:37AM +0000, Andrew Main wrote:
> 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
Is there a switch I need to do something like this?
> atc1:~> for ((i=0;i<=100;i++)); do
> zsh: parse error near `((i=0'
-brandon
Messages sorted by:
Reverse Date,
Date,
Thread,
Author