title: Problems with groupadd
body: <p>I'm playing around with linux a little bit, but hit a problem:</p>
  
  <pre><code># main.sh
  #!/bin/bash
  
  while read line
  do
      line=(${line//:/ })
      groupadd ${line[0]}
  done &lt;"config/groups.config"
  </code></pre>
  
  <hr>
  
  <pre><code># config/groups.config
  Directie
  </code></pre>
  
  <hr>
  
  <pre><code># output
  ' is not a valid group name
  </code></pre>
  
  <hr>
  
  <p>While when I do this it works:</p>
  
  <pre><code>#!/bin/bash
  groupadd Directie
  </code></pre>
  
  <hr>
  
  <p>Thank you for helping!<br>
  - Gerben van der Meer</p>