title: Bash Shell; read command; using Cygwin on Windows 7
body: <p>Okay so I am having this problem. I write up a script to be run in cygwin on Windows. I've tried a bunch of basic example scripts in case it was my scripts problem.</p>
  
  <p>So I tried this:</p>
  
  <pre><code>#!/bin/bash
  echo -e "Enter your name and press [ENTER]: \c" 
  read var_name
  echo "Your name is: $var_name"
  </code></pre>
  
  <p>Then I will run it and I enter a name for var_name.</p>
  
  <p>I get this:</p>
  
  <pre><code>$ ./project1.sh
  Enter your name and press [ENTER]: Jake
  ': not a valid identifierad: `var_name
  Your name is:
  </code></pre>
  
  <p>So as far as I understand it I am having a problem with read. I am trying to work on a project for my class, but I can't seem to figure out why it won't read it. I followed the book with no triumph then resorted to these examples on the web that do not seem to work for me either. Does anyone have any idea if it is my setup or if I am missing something, thanks.</p>