[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-ed] Inconsistency between BSD ed(1) and GNU ed(1)
From: |
Alexander Jones |
Subject: |
Re: [Bug-ed] Inconsistency between BSD ed(1) and GNU ed(1) |
Date: |
Mon, 25 Dec 2017 14:58:36 -0600 |
User-agent: |
KMail/5.2.3 (Linux/4.10.0-40-generic; KDE/5.31.0; x86_64; ; ) |
I tested this sequence in ed 1.14.2, the current version, and the results were
the same as in BSD. The version included in Debian stable and Ubuntu Xenial
(16.04 LTS) is 1.10.
On Sunday, December 24, 2017 9:03:36 PM CST Tim Chase wrote:
> Steps to recreate:
>
> address@hidden ed
> a
> x1
> y2
> y3
> .
> 2
> -,+s/x/y/p
> y1
> .=
> 1
>
> BSD ed (tested both OpenBSD 6.2 and FreeBSD 11) leaves you on line 1
> (the only/last line changed)
>
> address@hidden ed
> a
> x1
> y2
> y3
> .
> 2
> -,+s/x/y/p
> y3
> .=
> 3
>
> GNU ed (tested Debian Stable & Ubuntu 16.04LTS) leaves you on line 3
> (the end of the range)
>
> Thanks,
>
> -Tim
> (@gumnos/@ed1conf)
>
>
>
>
> _______________________________________________
> bug-ed mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/bug-ed