[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-ed] Problems in POSIX description of ed have been resolved
From: |
Antonio Diaz Diaz |
Subject: |
[Bug-ed] Problems in POSIX description of ed have been resolved |
Date: |
Sun, 16 Sep 2018 20:58:09 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 |
Hello all (specially Ori Avtalion),
In March 2107 I reported to the Austin group a couple problems with the
'c' and 'i' commands. Both of them have been fixed. See the details in
the following links:
http://austingroupbugs.net/view.php?id=1130
http://austingroupbugs.net/view.php?id=1131
Summary of changes:
- Address 0 is no longer required to be valid for the 'c' command.
- It is now unspecified whether '0i' causes the inserted text to be
placed at the beginning of the buffer or it is interpreted as if address
1 were specified.
Thank you very much to Ori Avtalion for the initial report, and to the
people at the Austin group for fixing these problems.
GNU ed currently interprets '0i' as "insert text at the beginning of the
buffer". (It works on an empty buffer). So we are done on this.
I think the 'c' command should reject again address 0 (as ed-0.2 did)
because the only reason to support address 0 was to conform to the POSIX
requirement just removed.
Best regards,
Antonio.
- [Bug-ed] Problems in POSIX description of ed have been resolved,
Antonio Diaz Diaz <=