title: Append Integer To String Bash Script OSX
body: <p>I am attempting to write a bash script that loops exactly 20 times and then appends each number in the loop to the variable with a string "group". The output of each variable should be group1, group2, group3, and so on. Unfortunately i am unable to get this to work. Here is my code thus far:</p>
  
  <pre><code>   #!/bin/bash
  
     USERNUM=0
     USERPREFIX='group'
  
     for (( i = 1 ; i &lt;= 20; i++ ))
  
     do
  
     USERNUM=$(($USERNUM+1))
  
     USERCREATE=$(($USERPREFIX+$USERNUM))
  
     echo $USERCREATE
  
     done
  </code></pre>
  
  <p>I am trying to run this script under OSX 10.6. Any help is greatly appreciated. </p>