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

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