info-gnu
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GNU ed 1.18 released


From: Antonio Diaz Diaz
Subject: GNU ed 1.18 released
Date: Mon, 07 Feb 2022 16:53:14 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14

I am pleased to announce the release of GNU ed 1.18.

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.

The homepage is at http://www.gnu.org/software/ed/ed.html

The sources can be downloaded from http://ftpmirror.gnu.org/ed/ http://download.savannah.gnu.org/releases/ed/ or from your favorite GNU mirror.

The sha256sum is:
aca8efad9800c587724a20b97aa8fc47e6b5a47df81606feaba831b074462b4f  ed-1.18.tar.lz

This release is also GPG signed. You can download the signature by appending '.sig' to the URL. If the 'gpg --verify' command fails because you don't have the required public key, then run this command to import it:

  gpg --keyserver keys.gnupg.net --recv-keys 8FE99503132D7742

Key fingerprint = 1D41 C14B 272A 2219 A739  FA4F 8FE9 9503 132D 7742


Changes in version 1.18:

* The shell escape command (!) now flushes stdout so that the modified command is always printed before being executed (instead of after) even if standard output is fully buffered (for example, a file). (Reported by Sören Tempel).

* A couple of harmless memory leaks have been fixed. (They both happened just before ed exits). (Reported by Xosé Vázquez Pérez).

* 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. (Reported by Martin Thomsen).

  * 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.


Please send bug reports and suggestions to bug-ed@gnu.org


Regards,
Antonio Diaz, GNU ed maintainer.

--
If you care about data safety and long-term archiving, please consider using lzip. See http://www.nongnu.org/lzip/lzip_benchmark.html
http://www.nongnu.org/lzip/manual/lzip_manual.html#Quality-assurance and
http://www.nongnu.org/lzip/safety_of_the_lzip_format.html Thanks.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]