This is the mail archive of the
mailing list for the Cygwin project.
RE: sh files
- From: "Buchbinder, Barry \(NIH/NIAID\) [E]" <BBuchbinder at niaid dot nih dot gov>
- To: "dubcek" <goltrock at wanadoo dot fr>, <cygwin at cygwin dot com>
- Date: Sun, 29 Oct 2006 16:24:57 -0500
- Subject: RE: sh files
From: dubcek, Sunday, October 29, 2006 3:00 PM
> Far from being a computer expert, here is what you need to know to
understand my problem.
> For years I worked basically in an UNIX environment.
> For practical reasons, I am now using Windows XP. Two years ago, I
downloaded Cygwin in the hope of finding an UNIX-like environment. That
> I got to use the cygwin version of the Lilypond music notation and
that too worked perfectly until the day when I found myself stuck with a
'very simple' problem' which is irrelevant to the present story.
> In order to solve that problem, I downloaded a more recent version of
> My problem is this:
> From the time I started using UNIX, I have made at least a hundred
different .sh files, all of which ran perfectly on my first version of
cygwin. But they don't work on the new version.
> What do I do to make them work again?
> All clear and simple explanation is welcome. My computer education
lasted half an hour twenty-five years ago.
> Thanks for your patience.
Your problem sounds like line endings, specifically \r\n line endings on
binary mounts. See
The mailing list over the past month
<http://cygwin.com/ml/cygwin/2006-10/> discusses ad nauseam problems
resulting from the changed behavior. Look there for guidance.
While we're at this, thanks to Eric for all the work he puts into bash
and his other packages, and to his patience in dealing with the fallout
from this change.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html