[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-ed] Change in `s/xyz` 1.13 -> 1.14.2 ?

From: John Cowan
Subject: Re: [Bug-ed] Change in `s/xyz` 1.13 -> 1.14.2 ?
Date: Mon, 9 Oct 2017 02:00:02 -0400

On Mon, Oct 9, 2017 at 1:43 AM, Steven Terpe <address@hidden> wrote:

The long error is ‘Missing Pattern Delimiter’.  Which I get, but I don’t see this as an improvement, because what I want to do by issuing the command `s/xyz` is a given.  Plus there is issue of backwards compatibility of ed scripts which could now be broken by this change as well as an unnecessary deviation from the common behavior of BSD ed and previous versions of GNU ed.

I agree, and urge you to make ed work like Posix ex, which demands that all of s/foo/bar/, s/foo/bar, s/foo/, and s/foo do the right thing; the last two replace foo with nothing.

John Cowan          http://vrici.lojban.org/~cowan        address@hidden
After fixing the Y2K bug in an application:
        WELCOME TO <censored>
        DATE: MONDAK, JANUARK 1, 1900

reply via email to

[Prev in Thread] Current Thread [Next in Thread]