title: Shell script arrays
body: <p>I would like to set array elements with loop:</p>
  
  <pre><code>for i in 0 1 2 3 4 5 6 7 8 9
  do
  array[$i] = 'sg'
  done
  
  echo $array[0]
  echo $array[1]
  </code></pre>
  
  <p>So it does not work.
  How to..?</p>