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

R: identical scripts don't behave identically

2009-07-08 Thread Marco Atzeri
--- Gio 9/7/09, roc97007 ha scritto: > Da: roc97007 > Oggetto: identical scripts don't behave identically > A: cygwin@cygwin.com > Data: Giovedì 9 luglio 2009, 00:10 > > We have been seeing bizarre results from Cygwin 1.5.25-15 > on Windows Server > 2003 R2.  I ha

RE: identical scripts don't behave identically

2009-07-08 Thread Bruce Dobrin
ailto:cygwin-ow...@cygwin.com] On Behalf Of Thrall, Bryan Sent: Wednesday, July 08, 2009 3:19 PM To: cygwin@cygwin.com Subject: RE: identical scripts don't behave identically roc97007 wrote on Wednesday, July 08, 2009 5:11 PM: > To summarize, as far as I can tell the files are identical,

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 Thrall, Bryan
roc97007 wrote on Wednesday, July 08, 2009 5:11 PM: > To summarize, as far as I can tell the files are identical, but one works > and the other can't seem to find the current directory. If, in the broken > script, I substitute any command that needs to read or write to or from the > file system, i

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