Igor Pechtchanski <[EMAIL PROTECTED]> wrote: > 'Ware of this issue: > > <QUOTE from http://cygwin.com/cygwin-ug-net/using-specialnames.html#AEN846> > If a shell script myprog and a program myprog.exe coexist in a > directory, the program has precedence and is selected for execution of > myprog. > </QUOTE>
The original poster was actually pointing out a different issue: If the shell script itself is named myprog.exe, it is executed as a Windows executable rather than as a shell script. It would be nice if the file could be checked for beginning with "#!", but perhaps the only real solution is Don't Do That, Then. Robert -- 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/