Re: subroutine error for Cygwin bash 3.2.9(11)-release

2007-02-10 Thread Larry Hall (Cygwin)
Jim Guojun [VFFS] wrote: Yes, that is the problem. The Cygwin bash should provide a better error message, which should be trivial. That's a relief. Looking forward to your upcoming patch for this. -- Larry Hall http://www.rfk.com RFK Partners, Inc.

Re: subroutine error for Cygwin bash 3.2.9(11)-release

2007-02-10 Thread Jim Guojun [VFFS]
Yes, that is the problem. The Cygwin bash should provide a better error message, which should be trivial. Thanks, On 2/9/07, Matt Wozniski wrote: Has anyone seen the same problem? bash-3.2$ sh -x start.sh + $'\r' : command not found 'tart.sh: line 6: syntax error near unexpected token ` '

Re: subroutine error for Cygwin bash 3.2.9(11)-release

2007-02-08 Thread Matt Wozniski
On 2/9/07, Jim Guojun wrote: Has anyone seen the same problem? bash-3.2$ sh -x start.sh + $'\r' : command not found 'tart.sh: line 6: syntax error near unexpected token ` 'tart.sh: line 6: `func() The difference between machines is probably in using text mounts vs. binary mounts. On the machi

subroutine error for Cygwin bash 3.2.9(11)-release

2007-02-08 Thread Jim Guojun
Install the latest Cygwin to A number XP machines with the same installation procedure, but some machines work fine and some did not. The shell does not like the subrutine in a script file (See below). Even the error output is strange -- s is replaced by a <'>. There is no ' symbol in the script