bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bash for loop errorr


From: Vikas Dube
Subject: bash for loop errorr
Date: Wed, 23 May 2007 03:02:27 -0700 (PDT)

Hello,
I am having GNU bash, version 2.03.0(1)-release (sparc-sun-solaris2.6),
while executing for loop 
# for (( i=1; i<5 ; i++ )) ; do echo $i ; done
I am getting error 
bash: syntax error near unexpected token `(('


The same for loop is working file on GNU bash, version 3.00.15(1)-release
(i386-redhat-linux-gnu)

Thanks in advance
Vikas Dube

-- 
View this message in context: 
http://www.nabble.com/bash-for-loop-errorr-tf3803071.html#a10760917
Sent from the Gnu - Bash mailing list archive at Nabble.com.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]