Blame NEWS

Packit 4e1bf9
Changes in version 1.14:
Packit 4e1bf9
Packit 4e1bf9
Version 1.14 is the largest bug hunt ever attempted in GNU ed. Other
Packit 4e1bf9
goals of version 1.14 are to complete the documentation and to remove
Packit 4e1bf9
any gratuitous incompatibilities with the POSIX standard. Thanks to Ori
Packit 4e1bf9
Avtalion for initiating all this with a couple bug reports. ;-)
Packit 4e1bf9
Packit 4e1bf9
Byte counts, informative messages, command error messages, and the '?'
Packit 4e1bf9
and '!' prompts are now written to stdout instead of to stderr. The
Packit 4e1bf9
standard error (stderr) is now used only for diagnostic messages.
Packit 4e1bf9
Packit 4e1bf9
The current address is now correctly set to the addressed line after an
Packit 4e1bf9
empty insert command.
Packit 4e1bf9
Packit 4e1bf9
Fixed inconsistent behavior of the substitute command. It incorrectly
Packit 4e1bf9
reported 'Invalid pattern delimiter' when the two last delimiters were
Packit 4e1bf9
omitted after a null regular expression. Now it consistently reports
Packit 4e1bf9
'Missing pattern delimiter' if the two last delimiters are omitted after
Packit 4e1bf9
any regular expression (null or not).
Packit 4e1bf9
Packit 4e1bf9
's/a/%' has been fixed. It incorrectly replaced 'a' with '%' instead of
Packit 4e1bf9
using the replacement from the last substitution.
Packit 4e1bf9
Packit 4e1bf9
An infinite loop, happening when EOF was found in the middle of a
Packit 4e1bf9
replacement string, has been fixed.
Packit 4e1bf9
Packit 4e1bf9
Ed no longer accepts newlines in the replacement of a 's' command if it
Packit 4e1bf9
is part of the command list of a global command, because in this case
Packit 4e1bf9
the meaning of the newline becomes ambiguous. For the same reason, the
Packit 4e1bf9
last delimiter can't be omitted if the 's' command is not the last
Packit 4e1bf9
command in the command list.
Packit 4e1bf9
Packit 4e1bf9
The substitute command now correctly sets the current address to the
Packit 4e1bf9
address of the last line on which a substitution occurred, and leaves it
Packit 4e1bf9
unchanged if no substitution is performed.
Packit 4e1bf9
Packit 4e1bf9
A bug in the calculation of address offsets has been fixed. '3 ---- 2'
Packit 4e1bf9
was calculated as address -2 instead of the correct address 1.
Packit 4e1bf9
Packit 4e1bf9
Address ranges with the first address omitted are now accepted.
Packit 4e1bf9
Packit 4e1bf9
The current address is now correctly set to the addressed line (or to
Packit 4e1bf9
the new last line if at EOF) after an empty replacement text in the
Packit 4e1bf9
change command.
Packit 4e1bf9
Packit 4e1bf9
Repeated print suffixes are now rejected. It has been documented that ed
Packit 4e1bf9
allows any combination of non-repeated print suffixes and combines their
Packit 4e1bf9
effects.
Packit 4e1bf9
Packit 4e1bf9
The substitute command now accepts suffixes in any order.
Packit 4e1bf9
Packit 4e1bf9
The 'repeat substitution' command now rejects multiple count suffixes.
Packit 4e1bf9
Packit 4e1bf9
The 'p' suffix of the 'repeat substitution' command now toggles all the
Packit 4e1bf9
print suffixes of the last substitution.
Packit 4e1bf9
Packit 4e1bf9
End of file on standard input now behaves as a 'q' command.
Packit 4e1bf9
Packit 4e1bf9
The modified status is no longer cleared after writing the buffer to the
Packit 4e1bf9
standard input of a shell command. (Reported by Jérôme Frgacic).
Packit 4e1bf9
Packit 4e1bf9
The descriptions of the 'a', 'c', 'e', 'g', 'i', 'j', 'k', 'm', 'q',
Packit 4e1bf9
'r', 's', 'u' and 'w' commands in the manual have been fixed.
Packit 4e1bf9
Packit 4e1bf9
Most tests in the testsuite have been improved. Bug reporting has been
Packit 4e1bf9
simplified; only the failed logs and results are kept in the test
Packit 4e1bf9
directory, which can then be (tarred, compressed, and) attached to the
Packit 4e1bf9
bug report.