title: Bash 'for' loop syntax?
body: <p>What is the syntax for a Bash <code>for</code> loop?</p>
  
  <p>I have tried:</p>
  
  <pre><code>for (($i=0;$i&lt;10;$i ++))
  do
      echo $i
  done
  </code></pre>
  
  <p>I get this error:</p>
  
  <pre><code>line 1: ((: =0: syntax error: operand expected (error token is "=0")
  </code></pre>