title: Printing odd numbers in bash script giving error
body: <p>Please tell why printing odd numbers in bash script with the following code gives the error: </p>
  
  <blockquote>
    <p>line 3: {1 % 2 : syntax error: operand expected (error token is "{1 % 2 ")</p>
  </blockquote>
  
  <pre><code>for i in {1 to 99}
  do
  rem=$(( $i % 2 ))
  if [$rem -neq 0];
  then
  echo $i
  fi
  done
  </code></pre>