This is the mail archive of the
mailing list for the Cygwin project.
Re: CR/LF problems after upgrade
- From: Luke Kendall <luke dot kendall at cisra dot canon dot com dot au>
- To: cygwin at cygwin dot com
- Date: Fri, 12 Jan 2007 16:52:56 +1100 (EST)
- Subject: Re: CR/LF problems after upgrade
On 5 Jan, fschmidt wrote:
> > 3. Cygwin text mounts automatically work with either line ending style,
> > because the \r is stripped before bash reads the file. If you absolutely
> > must use files with \r\n line endings, consider mounting the directory
> > where those files live as a text mount. However, text mounts are not as
> > well tested or supported on the cygwin mailing list, so you may encounter
> > other problems with other cygwin tools in those directories.
> I don't know what mounts are, or how to use them.
With a freshly-installed Cygwin from a mirror that's a few days old, and
with c:\cygwin\bin mounted textmode and a network share directory of
bash scripts also mounted in textmode, using scripts that had CR/LF
endings, each blank line in the script caused an error, and there were
other errors too.
In short, I don't think the text mounts are doing their magic
correctly at the moment. (The scripts mentioned above did work
correctly in much older Cygwins using text mounts.)
<philosophy> I wonder how many centuries of human endeavour has been
absorbed because of the decision to use CR+LF as line endings in DOS?
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html