title: Bad Variable Name Shell Scripting
body: <p>I'm trying to create a script to automate the IPSEC user addition process. When I try and run the following code with 'sh user.sh'.</p>
  
  <pre><code>#!/bin/sh
  echo "Tell me a name for the user"
  echo "Please, use one word only, and no special characters"
  read -r USER
  </code></pre>
  
  <p>I get the following response:</p>
  
  <pre><code>Tell me a name for the user 
  Please, use one word only, and no special characters
  test 
  : bad variable nameSER
  </code></pre>
  
  <p>I've searched Google for the past hour, and I haven't been able to find any solution that works. Any ideas?</p>