title: Cannot run a shell script created on Windows
body: <p>I seem to be having a weird problem, the solution for which might be dead simple and I am just being blind.</p>
  
  <p>My development environment is Windows.  I create a deployment archive file, within which contains a shell script file (called install.sh).  I sftp this archive over to a linux environment, untar it and try to run execute the script (after chmod to make it executable) and I get this error:</p>
  
  <p>syntax error: unexpected end of file</p>
  
  <p>I don't notice any errors in the file.  I delete this file, create a new install.sh, copy over the exact contents from my Windows env, chmod it again, run it again and this time it runs fine!</p>
  
  <p>I have no idea why it does not run the first time I untar it.  Any help appreciated!</p>