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