Blame NEWS

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