public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Christopher Faylor <cgf@redhat.com>
To: cygwin@cygwin.com
Subject: Re: indent.exe strangeness
Date: Sun, 11 Nov 2001 08:26:00 -0000	[thread overview]
Message-ID: <20011115192147.GF9348@redhat.com> (raw)
In-Reply-To: <02ba01c16dcf$bc7b2750$0200a8c0@lifelesswks>

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/

  reply	other threads:[~2001-11-15 19:21 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-11  8:26 Robert Collins
     [not found] ` <156864442883.20011115234344@familiehaase.de>
2001-11-11  8:26   ` Robert Collins
2001-11-11  8:26 ` Christopher Faylor
2001-11-11  8:26   ` Larry Hall (RFK Partners, Inc)
2001-11-11  8:26 ` Kevin Schnitzius
2001-11-11  8:26   ` Christopher Faylor
2001-11-11  8:26     ` Robert Collins
2001-11-11  8:26       ` Gerrit P. Haase
2001-11-11  8:26         ` Robert Collins
2001-11-11  8:26           ` Christopher Faylor [this message]
2001-11-11  8:26             ` Gerrit P. Haase
2001-11-11  8:26               ` Christopher Faylor
2001-11-11  8:26           ` Gerrit P. Haase
2001-11-11  8:26         ` Christopher Faylor
  -- strict thread matches above, loose matches on Subject: below --
2001-11-11  8:26 BMetzenthen
2001-11-11  8:26 BMetzenthen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011115192147.GF9348@redhat.com \
    --to=cgf@redhat.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).