delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/01/02/18:59:28

Message-Id: <200501022359.j02NxPvV003648@delorie.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Gary R. Van Sickle" <g DOT r DOT vansickle AT worldnet DOT att DOT net>
To: <cygwin AT cygwin DOT com>
Subject: RE: "od" wrong line endings and byte count
Date: Sun, 2 Jan 2005 17:58:47 -0600
MIME-Version: 1.0
In-Reply-To: <20050102223613.GB608@efn.org>
X-IsSubscribed: yes

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

-- 
Gary R. Van Sickle
  


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019