Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Thu, 15 Nov 2001 14:21:47 -0500
From: Christopher Faylor <cgf@redhat.com>
To: cygwin@cygwin.com
Subject: Re: indent.exe strangeness
Message-ID: <20011115192147.GF9348@redhat.com>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <FFC7351A4632D411820000508B2E1C2C01CB16B1@hqexch01.citrix.com> <20011115030821.GA3841@redhat.com> <00a101c16d86$54e0d2f0$0200a8c0@lifelesswks> <1543920176.20011115124023@familiehaase.de> <02ba01c16dcf$bc7b2750$0200a8c0@lifelesswks>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <02ba01c16dcf$bc7b2750$0200a8c0@lifelesswks>
User-Agent: Mutt/1.3.23.1i

On Thu, Nov 15, 2001 at 11:19:12PM +1100, Robert Collins wrote:
>> What about a patch that would fopen() every file in binmode and write it
>> back according to the mount?
>
>I think that textmode.o is the correct tool rather than a patch - read
>every file in textmode (they are source after all :]) and write in
>textmode.

No.  That would end up putting CRLF on every file.  I doubt that people
with binmode mounts would be pleased.

automode.o should take any file and create a file with only LF line
endings.  This will be correctly interpreted by just about every tool
except older versions of notepad.exe.

cgf

--
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/

