identical scripts don't behave identically

2009-07-08 Thread roc97007
We have been seeing bizarre results from Cygwin 1.5.25-15 on Windows Server 2003 R2. I have reduced the problem to the following test: I have two files with identical permissions located in the same directory: -rwxrwxrwx 1 christian.ron mkpasswd 16 Jul 8 14:56 aab.sh -rwxrwxrwx 1 christian.ron

Re: identical scripts don't behave identically

2009-07-08 Thread roc97007
Um, never mind. cat -v showed me the error of my ways. One was terminated with control-M, the other wasn't. Boy is my face red. -- View this message in context: http://www.nabble.com/identical-scripts-don%27t-behave-identically-tp24400289p24400406.html Sent from the Cygwin list mailing list

RE: identical scripts don't behave identically

2009-07-08 Thread roc97007
> Perhaps one of the files has DOS line endings and the other has UNIX > line endings? Try d2u on the broken one to see if it fixes the problem. That was exactly it. Thanks very much. -- View this message in context: http://www.nabble.com/identical-scripts-don%27t-behave-identically-tp24400289