Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: ed | Distribution: openSUSE:Factory:zSystems |
Version: 1.19 | Vendor: openSUSE |
Release: 1.4 | Build date: Wed Jun 14 17:16:55 2023 |
Group: Productivity/Text/Editors | Build host: s390zl22 |
Size: 117688 | Source RPM: ed-1.19-1.4.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://www.gnu.org/software/ed/ | |
Summary: A line-oriented text editor |
GNU ed is a line-oriented text editor. It is used to create, display, modify and otherwise manipulate text files, both interactively and via shell scripts. A restricted version of ed, red, can only edit files in the current directory and cannot execute shell commands. Ed is the "standard" text editor in the sense that it is the original editor for Unix, and thus widely available. For most purposes, however, it is superseded by full-screen editors such as GNU Emacs or GNU Moe.
GPL-3.0-or-later AND LGPL-2.1-or-later
* Mon Jan 16 2023 Andreas Stieger <andreas.stieger@gmx.de> - update to 1.19: * Reading a non-existent file with commands 'e' or 'E' did set the 'modified' flag, which prevented a following 'e' command from succeeding * The long name of option '-s' has been changed to '--script'. Option '-s' now only suppresses byte counts and the '!' prompt as mandated by POSIX. It no longer suppresses diagnostic messages written to stderr. * The short name '-q' has been assigned to options '--quiet' and '--silent'. Option '-q' now only suppresses diagnostic messages written to stderr. * The help message showing the line where a script error happened when ed's input is from a regular file is now printed to stdout instead of stderr because it is enabled by the 'H' command. * Ed no longer processes file names for backslash escapes. * It has been documented in the manual that address 0 is valid as a starting point for searches so that '0;/RE/' can match the regular expression RE in the first line of the buffer. * It has been documented in the manual how to achieve the effect of ex style '!' filtering with a sequence of commands. * Sun Mar 20 2022 Dirk Müller <dmueller@suse.com> - 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 * Mon Jan 25 2021 Paolo Stivanin <info@paolostivanin.com> - Update to 1.17 * The commands 'q' and 'Q' now work in a global command. * The new option '-E, --extended-regexp' has been added. It tells ed to use extended regular expressions instead of the basic regular expressions mandated by POSIX * Print the file name in case of read or write error * Fri Oct 16 2020 Ludwig Nussel <lnussel@suse.de> - prepare usrmerge (boo#1029961) * Tue Mar 03 2020 Paolo Stivanin <info@paolostivanin.com> - 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. * Thu Jan 10 2019 Tomáš Chvátal <tchvatal@suse.com> - Switch back to hand provided tarball in order to avoid pulling lzip to the Ring0 * Mon Jan 07 2019 Tomáš Chvátal <tchvatal@suse.com> - Use upstream released tarball * Fri Jan 04 2019 Jan Engelhardt <jengelh@inai.de> - Avoid repetition of package name in summary. * Thu Jan 03 2019 sean@suspend.net - 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. * Sat Feb 25 2017 mpluskal@suse.com - Update to version 1.14.2: * main.c (show_strerror) Revert to using '!scripted' instead of 'verbose' to suppress diagnostics. * Print counts, messages, '?' and '!' to stdout instead of stderr. * buffer.c (append_lines): Fixed current address after empty 'i'. * regex.c (set_subst_regex): Treat missing delimiters consistently. (extract_replacement): Don't replace 'a' with '%' in 's/a/%'. Fixed infinite loop with EOF in the middle of a replacement. Don't accept newlines in replacement in a global command. Last delimiter can't be omitted if not last in command list. (search_and_replace): Set current address to last line modified. * main_loop.c (extract_addresses): Fixed address offsets; '3 ---- 2' was calculated as -2 instead of 1. Accept ranges with the first address omitted. (exec_command): Fixed current address after empty replacement text in 'c' command. Don't clear the modified status after writing the buffer to a shell command. (Reported by Jérôme Frgacic). (get_command_suffix): Don't allow repeated print suffixes. (command_s): Accept suffixes in any order. Don't allow multiple count suffixes. 'sp' now toggles all print suffixes. (main_loop): Make EOF on stdin behave as a 'q' command. * ed.texi: Fixed the description of commands 'acegijkmqrsuw'. Documented that ed allows any combination of print suffixes. * testsuite: Improved most tests. Simplified bug reporting. * configure: Avoid warning on some shells when testing for gcc. * Makefile.in: Detect the existence of install-info.
/usr/bin/ed /usr/bin/red /usr/share/doc/packages/ed /usr/share/doc/packages/ed/AUTHORS /usr/share/doc/packages/ed/ChangeLog /usr/share/doc/packages/ed/NEWS /usr/share/doc/packages/ed/README /usr/share/info/ed.info.gz /usr/share/licenses/ed /usr/share/licenses/ed/COPYING /usr/share/man/man1/ed.1.gz /usr/share/man/man1/red.1.gz
Generated by rpm2html 1.8.1
Fabrice Bellet, Sat Mar 9 12:50:11 2024