zsh-workers
 help / color / mirror / code / Atom feed
* problem with for ((...)) loop (zsh-3.1.5-pws-9)
@ 1999-02-26 13:15 Andrej Borsenkow
  1999-02-28  3:13 ` Bart Schaefer
  0 siblings, 1 reply; 3+ messages in thread
From: Andrej Borsenkow @ 1999-02-26 13:15 UTC (permalink / raw)
  To: ZSH workers mailing list

bor@itsrm2:~%> for ((i=0;i<50;i++))   
do
ping 149.202.201.$i
done
zsh: bad math expression: illegal character: .

What's wrong?

(I tried with spaces as well)

/andrej


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: problem with for ((...)) loop (zsh-3.1.5-pws-9)
  1999-02-26 13:15 problem with for ((...)) loop (zsh-3.1.5-pws-9) Andrej Borsenkow
@ 1999-02-28  3:13 ` Bart Schaefer
  1999-03-01 11:24   ` Andrej Borsenkow
  0 siblings, 1 reply; 3+ messages in thread
From: Bart Schaefer @ 1999-02-28  3:13 UTC (permalink / raw)
  To: Andrej Borsenkow, ZSH workers mailing list

On Feb 26,  4:15pm, Andrej Borsenkow wrote:
} Subject: problem with for ((...)) loop (zsh-3.1.5-pws-9)
}
} bor@itsrm2:~%> for ((i=0;i<50;i++))   
} do
} ping 149.202.201.$i
} done
} zsh: bad math expression: illegal character: .

I don't see this at all.  Are you sure you don't have an alias or
function for "ping" that's producing the math error?

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com


^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: problem with for ((...)) loop (zsh-3.1.5-pws-9)
  1999-02-28  3:13 ` Bart Schaefer
@ 1999-03-01 11:24   ` Andrej Borsenkow
  0 siblings, 0 replies; 3+ messages in thread
From: Andrej Borsenkow @ 1999-03-01 11:24 UTC (permalink / raw)
  To: Bart Schaefer, ZSH workers mailing list

I cannot reproduce it in pws-10 either. Funny 

/andrej

> -----Original Message-----
> From: Bart Schaefer [mailto:schaefer@brasslantern.com]
> Sent: Sunday, February 28, 1999 6:14 AM
> To: Andrej Borsenkow; ZSH workers mailing list
> Subject: Re: problem with for ((...)) loop (zsh-3.1.5-pws-9)
> 
> 
> On Feb 26,  4:15pm, Andrej Borsenkow wrote:
> } Subject: problem with for ((...)) loop (zsh-3.1.5-pws-9)
> }
> } bor@itsrm2:~%> for ((i=0;i<50;i++))   
> } do
> } ping 149.202.201.$i
> } done
> } zsh: bad math expression: illegal character: .
> 
> I don't see this at all.  Are you sure you don't have an alias or
> function for "ping" that's producing the math error?
> 
> -- 
> Bart Schaefer                                 Brass Lantern Enterprises
> http://www.well.com/user/barts              http://www.brasslantern.com
> 
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-03-01 11:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-02-26 13:15 problem with for ((...)) loop (zsh-3.1.5-pws-9) Andrej Borsenkow
1999-02-28  3:13 ` Bart Schaefer
1999-03-01 11:24   ` Andrej Borsenkow

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).