ChangeLog: 2000.04.22 earnie_boyd@yahoo.com Add logic to change '\r' to '\n' in shell files. This allows DOS style files to execute with binary mode mounts. Index: input.c =================================================================== RCS file: /.CVS/ash/input.c,v retrieving revision 1.1.1.1 diff -u -3 -r1.1.1.1 input.c --- input.c 2000/04/19 13:15:40 1.1.1.1 +++ input.c 2000/04/22 11:03:16 @@ -217,6 +217,13 @@ } nr = -1; } +#if defined( __CYGWIN__ ) + { + char * stmp; + while (stmp = strchr( parsenextc, '\r' )) + *stmp = '\n'; + } +#endif defined( __CYGWIN__ ) return nr; }