This is the mail archive of the
cygwin
mailing list for the Cygwin project.
How to setup cygwin to use "always" testmode
- From: Ralf <wiesweg at tacos-gmbh dot de>
- To: cygwin at cygwin dot com
- Date: Fri, 18 Mar 2011 07:43:26 +0000 (UTC)
- Subject: 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