title: For Loop List in Shellscript
body: <p>I am trying to do something like this in shellscript:</p>
  
  <pre><code>STEP=5
  LIST=[1-$STEP]
  
  for i in $LIST
      echo $i
  done
  </code></pre>
  
  <p>The output I expect is:</p>
  
  <pre><code>1 2 3 4 5
  </code></pre>
  
  <p>I probably have seen this usage before ( e.g. [A-Z] ) but I cannot remember the correct syntax. Thank you for your help!</p>