Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: ed | Distribution: SUSE Linux Framework One |
Version: 1.20.2 | Vendor: SUSE LLC <https://www.suse.com/> |
Release: slfo.1.1.1 | Build date: Wed May 1 13:52:59 2024 |
Group: Productivity/Text/Editors | Build host: reproducible |
Size: 132636 | Source RPM: ed-1.20.2-slfo.1.1.1.src.rpm |
Packager: https://www.suse.com/ | |
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
* Wed May 01 2024 andreas.stieger@gmx.de - GNU ed 1.20.2: * Fix a bug that made global commands like 'g/x/s/x/x', with the last delimiter omitted, print every substituted line twice * Fri Feb 16 2024 andreas.stieger@gmx.de - GNU ed 1.20.1: * New command-line options '+line', '+/RE', and '+?RE' have been implemented to set the current line to the line number specified or to the first or last line matching the regular expression 'RE'. * File names containing control characters 1 to 31 are now rejected unless they are allowed with the command-line option '--unsafe-names'. * File names containing control characters 1 to 31 are now printed using octal escape sequences. * Ed now rejects file names ending with a slash. * Intervening commands that don't set the modified flag no longer make a second 'e' or 'q' command fail with a 'buffer modified' warning. * Tilde expansion is now performed on file names supplied to commands; if a file name starts with '~/', the tilde (~) is expanded to the contents of the variable HOME. * Ed now warns the first time that a command modifies a buffer loaded from a read-only file. * It has been documented that 'e' creates an empty buffer if file does not exist. * It has been documented that 'f' sets the default filename, whether or not its argument names an existing file. * The description of the exit status has been improved in '--help' and in the manual. * Sun Jan 21 2024 andreas.stieger@gmx.de - update to 1.20: * New command-line options for jumping to a line number or match * Improved handling of file names containing control characters * Tweak workflow for fewer 'buffer modified' warnings * Tilde expansion is now performed on file names * Warn on modifying a buffer from a read-only file * Create missing intermediate directories when writing to a file * Documentation updates - drop obsolete makeinfo marcos * Mon Jan 16 2023 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 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 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 lnussel@suse.de - prepare usrmerge (boo#1029961) * Tue Mar 03 2020 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 tchvatal@suse.com - Switch back to hand provided tarball in order to avoid pulling lzip to the Ring0 * Mon Jan 07 2019 tchvatal@suse.com - Use upstream released tarball * Fri Jan 04 2019 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. * Sat Jan 07 2017 mpluskal@suse.com - Update to version 1.14: * 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. * Fri Feb 12 2016 mpluskal@suse.com - Update to 1.13 * buffer.c (put_sbuf_line): Fixed a memory leak. * io.c (read_file, write_file): Close file on error. * Sat Jul 11 2015 mpluskal@suse.com - Update to 1.12 * ed.texi: Removed extra spaces from some commands. * Fri Apr 03 2015 mpluskal@suse.com - 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. * Fri Feb 21 2014 mvyskocil@suse.com - update to 1.10 + "ed.texinfo" has been renamed to "ed.texi" following the advice of recent Automake about obsolete categories - repackage tarball to xz as lzip is unlike ed not a part of bootstrap - drop xz and keyring, they are pointless with changed tarball * Tue Jul 16 2013 mvyskocil@suse.com - update to 1.9 + Testsuite no more feeds shell scripts to ed. + "configure" now accepts options with a separate argument. * Mon Jun 17 2013 coolo@suse.com - revert the use gpg-offline for bootstrap packages * Fri Apr 26 2013 mvyskocil@suse.com - 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 * Tue Mar 26 2013 mmeister@suse.com - Added url as source. Please see http://en.opensuse.org/SourceUrls * Tue Oct 23 2012 cfarrell@suse.com - license update: GPL-3.0+ and LGPL-2.1+ Semicolon is ambiguous * Fri Feb 03 2012 rschweikert@suse.com - switch license to spdx format - keep executable in /usr (UsrMerge project) * Mon Jan 02 2012 dlovasko@suse.com - Update to 1.6 (bugfix release) * Sun Sep 18 2011 jengelh@medozas.de - Remove redundant/obsolete tags/sections from specfile (cf. packaging guidelines) - Use %_smp_mflags for parallel build * Sun Sep 19 2010 vuntz@opensuse.org - Update to version 1.5: + The "a", "c" and "i" commands have been fixed. (When used in a global command list, the commands following them in the list were ignored). + The "e" command has been fixed. (It quitted when invoked a second time with a modified buffer). + The new option "--restricted" has been added. + "red" has been converted to a script invoking "ed - -restricted". + Description of ed in the manual has been changed. + Obsolete posix tests have been removed from testsuite. - Remove AutoReqProv: it's default now. * Mon Nov 30 2009 mvyskocil@suse.cz - updated to latest upstream version 1.4 - major rewrite and bugfixes (see Changelog for details) - obsoleted all patches * Fri Oct 20 2006 lrupp@suse.de - revert to 0.2: new version is broken (#212749) * Mon Oct 09 2006 agruen@suse.de - dash-option.diff: Fix `ed - filename' invocation. * Mon Oct 09 2006 schwab@suse.de - Update to ed 0.3-pre2. * The symlink vulnerability has been fixed using the "tmpfile" function. * The manual has been updated. * An extensive code cleanup has been done. - Fix signal handing again. * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Fri Oct 01 2004 schwab@suse.de - Fix signal handling (<http://lists.gnu.org/archive/html/bug-gnu-utils/2004-09/msg00123.html>). * Fri Sep 10 2004 schwab@suse.de - Don't use __P from glibc headers. * Sat Jan 10 2004 adrian@suse.de - add %defattr * Thu Apr 24 2003 ro@suse.de - fix install_info --delete call and move from preun to postun * Tue Apr 15 2003 coolo@suse.de - use BuildRoot * Mon Mar 03 2003 ro@suse.de - fixed typo in dir entry * Mon Mar 03 2003 ro@suse.de - added info dir entry * Fri Feb 07 2003 ro@suse.de - use install_info macros * Tue Sep 17 2002 ro@suse.de - removed bogus self-provides * Tue Dec 19 2000 werner@suse.de - Close temporary file security hole * Fri Feb 25 2000 kukuk@suse.de - Use RPM_OPT_FLAGS - Move /usr/{info,man} -> /usr/share/{info,man} * Sat Nov 06 1999 bs@suse.de - moved binary to /bin/ed and provide symlink /usr/bin/ed * Mon Sep 13 1999 bs@suse.de - ran old prepare_spec on spec file to switch to new prepare_spec.
/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, Fri Dec 20 23:23:07 2024