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

Re: for-command problem



agn@xxxxxxxxx said:
> for  ((let n=1; $n < 12 ; let n=$n+1))  
> do 
> echo $n
> done 

This works:

for ((n=1; $n<12; n=$n+1))
do
echo $n
done




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