This is the mail archive of the cygwin 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]

How to setup cygwin to use "always" testmode


I'm using cygwin under windows to change text-files with windows line-endings 
(CR and LF). I wrote a lot of shell-scripts which call each other. The 
filenames in those scripts are sometimes given als windows filenames (e.g. 
c:\temp\file.txt) sometimes relative (e.g. ../tmp/file.txt) sometimes as unix 
filenames (e.g. /c/temp/file.txt) and sometimes without any directory (e.g. 
file.txt)

The current versions of cygwin now only use entries from fstab to determine 
the mode but this will break all my scripts because the same file will 
sometimes be treated as binary (filename c:\temp\file.txt) and sometimes as 
text (filename /c/temp/file.txt).

So is there a way to say 'use always textmode' like it was possible in former 
releases?


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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