www.delorie.com/archives/browse.cgi | search |
Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu> 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |