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
Message-Id: <4.3.1.2.20000601170308.01eba100@pop.ma.ultranet.com>
X-Sender: lhall@pop.ma.ultranet.com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.1
Date: Thu, 01 Jun 2000 17:07:32 -0500
To: <Pierre.Humblet@eurecom.fr>,
        "cygwin@sourceware.cygnus.com" <cygwin@hotpop.com>
From: "Larry Hall (RFK Partners, Inc)" <lhall@rfk.com>
Subject: Re: New sed in latest 
In-Reply-To: <200006012052.WAA29525@bourgueil.eurecom.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"



At 03:52 PM 6/1/00, Pierre.Humblet@eurecom.fr wrote:
>In http://sourceware.cygnus.com/ml/cygwin/2000-05/msg01160.html
> >Corinna Vinschen wrote:
> >
> >I have uploaded a new version of sed to pub/cygwin/latest/sed
> >on sourceware.cygnus.com. <snip>
> >
> >The new feature of that version is that it reads
> >all files always in text mode so that files are
> >correctly read when they have dos file endings
> >in binary mounted directories as well.
>
>Thanks for the effort Corinna. Although I understand the 
>reason isn't this pushing it too far? When working on a binary
>mounted system I would expect sed to work exactly as on Unix.
>Although perhaps rare, aren't there legitimate reasons to want
>to keep a \r at the end of a line? Sed is often used in fairly
>complicated fashions that may now be broken.
>Also, does your change apply to piped stdin?
>I would withdraw this comment if there was anything in the sed 
>documentation to the effect that \r\n is equivalent to \n.
>
>
>Pierre



Another point is that binary files with CTRL-Z will also stop "processing"
prematurely as a result.  I suppose this becomes the argument for having
a "binary" (or conversely a "text") flag for sed (and some other tools)...



Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX
                                        (508) 560-1285 - cell phone



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

