Hi Marcin,

> I think GNU ed introduced this at a (possibly misguided) attempt to
> remove isatty at the very beginning.

I agree with your analysis having read all of ed(1p).  GNU seem to have
this wrong.

I'm puzzled why g/x/= prints 3 twice rather than 1, 3.

    $ ed -p': '
    : a
    x
    y
    x
    .
    : 1=   
    1
    : 3=
    3
    : g/x/n
    1   x
    3   x
    : g//=
    3
    3
    : q
    ?
    : q
    $

-- 
Cheers, Ralph.

Reply via email to