Re: whatnow: problems with edit--draft left

Ralph Corderoy <[email protected]>
Newsgroups gmane.mail.nmh.devel
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.