> 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
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,
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
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
4 matches
Mail list logo