Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
From: Chris Faylor <cgf@cygnus.com>
Date: Sun, 4 Jun 2000 18:27:41 -0400
To: cygwin <cygwin@sourceware.cygnus.com>
Subject: Re: New sed in latest
Message-ID: <20000604182741.E1298@cygnus.com>
Reply-To: cygwin@sourceware.cygnus.com
Mail-Followup-To: cygwin <cygwin@sourceware.cygnus.com>
References: <C9A8E1D07093D111B76A0000F8C9918A038B0EC2@zrtpd003.us.nortel.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
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@sourceware.cygnus.com

