Doug wrote:

I did put the "$1" in and it still gives me the same error
case "$1" in

'/test.sh: line 1: syntax error near unexpected token `in
'/test.sh: line 1: `case "$1" in

Do you have a DOS <CR> in there? (shows up as ^M in vim?) See the many, many threads in here about bash handling of <CR>s.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to