title: Read command throws bad variable name error in script, but not from terminal
body: <p>I'm trying to curl the script:</p>
  
  <pre><code>#!/bin/ash
  echo "Text Prompt: "
  read REPLY
  echo $REPLY
  </code></pre>
  
  <p>However, I get this output:</p>
  
  <pre><code>Text Prompt:
  : bad variable name
  </code></pre>
  
  <p>When I run the command from the terminal, it works fine. I've also tried the following with similar results:</p>
  
  <pre><code>#!/bin/ash
  read -p "Text Prompt: " vName=$REPLY
  echo vName
  
  #!/bin/ash
  read -p "Text Prompt: " &amp;&amp; vName=$REPLY
  echo vName
  </code></pre>