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

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



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