- 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
- Update to 1.16
* regex.c (line_replace): Accept 's/^/#/g' as valid.
(Reported by Bjoern Wibben).
* main_loop.c: Removed length limit of prompt string.
(Reported by Tim Chase).
* main.c: Set a valid invocation_name even if argc == 0.
* ed.texi: Extended operators depend on regex implementation.
(Reported by Brian Zwahr).
* ed.texi: Several fixes and improvements.
OBS-URL: https://build.opensuse.org/request/show/781148
OBS-URL: https://build.opensuse.org/package/show/utilities/ed?expand=0&rev=33
- Switch back to hand provided tarball in order to avoid pulling
lzip to the Ring0
- Use upstream released tarball
- Avoid repetition of package name in summary.
- Update to version 1.15:
* io.c (print_line): Make '1' command print '\\' before every
'$' within the text.
* main_loop.c (extract_addresses): Fixed address ',,' to mean
'$,$' instead of '1,$'.
* regex.c (extract_replacement): Allow newlines even if global.
* main_loop.c (exec_command): Make 'c' command reject address 0.
* ed.texi: Minor fixes.
* configure: Accept appending to CFLAGS, 'CFLAGS+=OPTIONS'.
* Switch archive format to tar.
OBS-URL: https://build.opensuse.org/request/show/664295
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ed?expand=0&rev=29
- Cleanup spec file with spec-cleaner
- Update to 1.11
* main_loop.c (exec_command): Fixed 'z' command.
(zN printed N + 1 lines).
* ed.texi: Documented the window size used by the 'z' command.
* Makefile.in: Added new targets 'install*-compress'.
* Restored original copyright notices in the code. I assigned to
the FSF the copyright on changes made to the part of ed already
copyrighted by the FSF, which seems to be just the manual.
OBS-URL: https://build.opensuse.org/request/show/294278
OBS-URL: https://build.opensuse.org/package/show/utilities/ed?expand=0&rev=18
- update to 1.8
+ Ed now stops reading stdin when reaching real End Of File the first
time. (Before it needed to reach EOF twice).
+ Show the "Try 'ed --help' for more information." message if a bad
option is given in the command line.
+ Quote characters in messages have been changed as advised by GNU
Coding Standards.
+ The description of address offsets in the manual and a link to the
Bash manual have been fixed.
+ Displaying of null characters by the "l" command has been fixed.
+ The condition deciding when to show the message "Newline appended" has
been corrected.
+ The "modified" flag is now set when reading a non-empty file into
an empty buffer.
+ An error that prevented using NUL characters in regular expressions
has been fixed.
+ Ed now signals an error if it can't create a shell process when
executing a shell command.
+ Ed now flushes stdout/stderr before reading a new command.
+ Man page is now generated with "help2man". All command-line options
are now documented in the man page.
- use gpg-offline to verify the package tarball
- adapt the Summary and Description according current README
OBS-URL: https://build.opensuse.org/request/show/173473
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ed?expand=0&rev=18
+ Ed now stops reading stdin when reaching real End Of File the first
time. (Before it needed to reach EOF twice).
+ Show the "Try 'ed --help' for more information." message if a bad
option is given in the command line.
+ Quote characters in messages have been changed as advised by GNU
Coding Standards.
+ The description of address offsets in the manual and a link to the
Bash manual have been fixed.
+ Displaying of null characters by the "l" command has been fixed.
+ The condition deciding when to show the message "Newline appended" has
been corrected.
+ The "modified" flag is now set when reading a non-empty file into
an empty buffer.
+ An error that prevented using NUL characters in regular expressions
has been fixed.
+ Ed now signals an error if it can't create a shell process when
executing a shell command.
+ Ed now flushes stdout/stderr before reading a new command.
+ Man page is now generated with "help2man". All command-line options
are now documented in the man page.
- use gpg-offline to verify the package tarball
OBS-URL: https://build.opensuse.org/package/show/utilities/ed?expand=0&rev=7