Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Sun, 2 Jan 2005 20:37:07 -0500
From: Christopher Faylor <cgf-no-personal-reply-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: "od" wrong line endings and byte count
Message-ID: <20050103013707.GH20747@trixie.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
References: <20050102223613.GB608@efn.org> <20050102235926.2F8DB170893@samwise.efn.org> <20050103011640.GA444@efn.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20050103011640.GA444@efn.org>
User-Agent: Mutt/1.4.1i

On Sun, Jan 02, 2005 at 05:16:40PM -0800, Yitzchak Scott-Thoennes wrote:
>On Sun, Jan 02, 2005 at 05:58:47PM -0600, "Gary R. Van Sickle" wrote:
>>>On Sun, Jan 02, 2005 at 05:27:45PM -0500, Christopher Faylor wrote:
>>>>On Sun, Jan 02, 2005 at 12:34:03PM -0800, Brian Dessent wrote:
>>>>>This means that when a cygwin program reads a file with
>>>CRLF endings
>>>>>it is translated to LF line endings that all unix tools
>>>expect.  You
>>>>>want binary mounts if this is not what you desire.  See
>>>the FAQ for
>>>>>more info...
>>>>
>>>>I think that this is a regression of "od", though.  It probably should
>>>>use binmode by default.
>>>
>>>I would tend to agree, but how would you change this default if
>>>desired?
>>>
>>
>>?  By one of the two ways God intended when he gave Moses POSIX:
>>
>>1.  O_BINARY 2.  "rb"
>
>Umm, that's not what I think of as "by default".  I call that
>"hardcoded".  "Default" implies to me the possibility of changing
>without recompile/relink.

That is a very strange implication...

cgf

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

