Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: Chris Faylor Date: Sun, 4 Jun 2000 18:27:41 -0400 To: cygwin 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 References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; 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