Unix shell scripting return code error with for loop
<p>I am stuck in a script which has an if loop and a for loop, PFB the code in which I am getting the <strong>syntax error at line : `((' unexpected</strong></p>

<pre><code> if [ $? = 0 ]; then
 for (( count=0; count&lt;=number; count++ ))
    echo " statement"
done

else 
 echo " Else statement executed "
fi
</code></pre>

<p>Can anyone help me on this...?</p>