CASE error in script file
Shankar Unni
shankarunni@netscape.net
Wed Nov 8 22:20:00 GMT 2006
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/
More information about the Cygwin
mailing list