This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: More 1.3.11 road show


Hi Pavel,

have you tried mounting /cygdrive/c/Temp/ as text?

-----Original Message-----
From: Pavel Tsekov [mailto:ptsekov@syntrex.com]
Sent: Mittwoch, 5. Juni 2002 17:10
To: Christopher Faylor
Cc: cygwin@cygwin.com
Subject: Re: More 1.3.11 road show


[snip]
CF> What this means is that if you do something like this:

c:\>>pwd > d:\tmp\foo

CF> and you've previously done a

CF> mount -b d:\tmp /dtmp

CF> then the line endings in d:\tmp\foo will be \n rather than \r\n.

I've done some simple tests and it works for me. One question though:

Consider this situation - I have drive C mounted on /cygdrive/c/ as
binary and I have C:\Temp mounted on /ctmp as text. Now redirecting the
output of 'pwd' to a file in /cygdrive/c/Temp/ gives me UNIX line
endings, while redirecting it to /ctmp gives me DOS line endings. Is
this intended ? Shouldn't the /ctmp mount override the settings for
/cygdrive/c/Temp ?


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]