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 mailing list
bug-ed@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-ed

Reply via email to