- update to 1.18:
* The shell escape command (!) now flushes stdout so that the modified command
is always printed before being executed even if standard output is fully
buffered (for example, a file).
* A couple of harmless memory leaks have been fixed. (They both happened just
before ed exits).
* The pointer returned by the function 'strip_escapes' is now checked. (It may
be null if memory is exhausted).
* The shell escape command (!) now removes the backslash from each escaped '%'
character within the text of the shell command line.
* Case-insensitive regular expressions have been implemented as in GNU sed.
* Syntax errors in regular expressions, for example unmatched ( or \(, no
longer overwrite a previously compiled regular expression, preventing a
"No previous pattern" error.
* The option '--strip-trailing-cr', which removes carriage returns at end of
text lines, has been added.
* Loading a file now fails if a line is longer than INT_MAX bytes or if the
file contains more than INT_MAX lines (usually 2 Gi lines). (Instead of
overflowing line addresses).
* In interactive mode ed now sets final exit status to 1 if a fatal error
happens while reading the file passed in the command line.
* red now reports "Directory access restricted" instead of "Invalid filename"
when trying to edit a file outside of the current directory.
* The new chapter "The 's' Command" has been added to the manual.
- switch to zstd
- remove usrmerged handling
OBS-URL: https://build.opensuse.org/request/show/963368
OBS-URL: https://build.opensuse.org/package/show/utilities/ed?expand=0&rev=39