[Top][All Lists]

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

Re: [Bug-ed] Posix non-compliance in chained commas

From: Antonio Diaz Diaz
Subject: Re: [Bug-ed] Posix non-compliance in chained commas
Date: Tue, 27 Mar 2018 17:06:33 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv: Gecko/20110420 SeaMonkey/2.0.14

Hi Matthieu,

Matthieu Felix wrote:
The command `,,p` prints the entire buffer in GNU ed (1.14.2).
However, one of the last sections of the Posix page on ed (
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/ed.html )
explicitly notes that `,,` is the range `$,$`, not `1,$`. BSD ed on
OSX follows the Posix spec and prints the last line only.

Thanks for pointing this out. It seems the changes I made to ed 1.14.2 to meet the posix spec were not complete. I'll work on this as soon as I find the time.

Best regards,

reply via email to

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