bug-ed
[Top][All Lists]
Advanced

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

Re: [Bug-ed] GNU ed 1.14-pre1 released


From: Ori Avtalion
Subject: Re: [Bug-ed] GNU ed 1.14-pre1 released
Date: Thu, 21 Apr 2016 23:21:35 +0300

> Quoting POSIX's RATIONALE section:
>
>   "For consistency with the a and r commands and better user functionality,
>    the i and c commands must also accept an address of 0,
>    in which case 0i is treated as 1i and likewise for the c command."

This has some problems. Given an empty buffer after starting ed, you'd
want "i" to work (that is, "0i").

If the quote is correct. "i" ("0i") is interpreted as "1i" which gives
an error on an empty buffer, since line 1 doesn't exist yet.



reply via email to

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