title: Syntax error near unexpected token newline message after executing a shell script
body: <p>I use shell in PUTTY to execute a remote script from Git:</p>
  
  <pre><code>curl -s https://github.com/dotnet/cli/blob/rel/1.0.0/scripts/obtain/uninstall/dotnet-uninstall-debian-packages.sh &gt;dotnet-uninstall-debian-packages.sh
  ./dotnet-uninstall-debian-packages.sh
  </code></pre>
  
  <p>But suddenly received a syntax error:</p>
  
  <blockquote>
    <p>Syntax error near unexpected token newline</p>
    
    <p>&lt;!DOCTYPE html></p>
  </blockquote>