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
Message-ID: <41D89FC3.C4EEF420@dessent.net>
Date: Sun, 02 Jan 2005 17:28:35 -0800
From: Brian Dessent <brian@dessent.net>
Organization: My own little world...
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: "od" wrong line endings and byte count
References: <41D897B8.E802CA0B@dessent.net> <20050103012057.GB444@efn.org>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Reply-To: cygwin@cygwin.com

Yitzchak Scott-Thoennes wrote:

> > > ?  By one of the two ways God intended when he gave Moses POSIX:
> > >
> > > 1. O_BINARY
> > > 2. "rb"
> >
> > (3. link with binmode.o)
> 
> Wouldn't binmode.o change it to not output crlf to text mounts?
> Probably wouldn't be a good choice.

I thought we were talking about 'od' here where presumably you always
want to open files for reading in binary mode?  (And as far as I know od
doesn't write anything, redirection aside...)

Brian

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

