delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/06/04/18:28:04

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Sun, 4 Jun 2000 18:27:41 -0400
To: cygwin <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: New sed in latest
Message-ID: <20000604182741.E1298@cygnus.com>
Reply-To: cygwin AT sourceware DOT cygnus DOT com
Mail-Followup-To: cygwin <cygwin AT sourceware DOT cygnus DOT com>
References: <C9A8E1D07093D111B76A0000F8C9918A038B0EC2 AT zrtpd003 DOT us DOT nortel DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.2i
In-Reply-To: <C9A8E1D07093D111B76A0000F8C9918A038B0EC2@zrtpd003.us.nortel.com>; from cbjones@nortelnetworks.com on Sun, Jun 04, 2000 at 05:06:42PM -0400

On Sun, Jun 04, 2000 at 05:06:42PM -0400, Christopher Jones wrote:
>This really seems broken if the way I mount something affects line endings
>such that I can't remove \r on a text mounted system with sed.  I can't
>think of a place where I really want to use cygwin to do DOS things... but
>if I did wouldn't I have to handle \r\n on my own just as I would if I were
>to manipulate a dos partition from GNU/Linux?  At least on UNIX how the file
>gets written doesn't change line endings on the way to disk.  Yuck.

You could *never* remove \r line endings on a text mounted system with sed
or any other program which does not go out of its way to open a file in
"binary mode".

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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