newsGNU sed - News: sed-4.6 released [stable]

Latest News
sed-4.9 released [stable] posted by meyering, Sun 06 Nov 2022 10:47:49 PM UTC
sed-4.8 released [stable] posted by meyering, Wed 15 Jan 2020 04:45:06 AM UTC
sed-4.7 released [stable] posted by meyering, Fri 21 Dec 2018 06:14:11 AM UTC
sed-4.6 released [stable] posted by meyering, Thu 20 Dec 2018 07:34:31 AM UTC
sed-4.5 released [stable] posted by meyering, Sun 01 Apr 2018 02:18:00 AM UTC

sed-4.6 released [stable]

Item posted by Jim Meyering <meyering> on Thu 20 Dec 2018 07:34:31 AM UTC.

This is to announce sed-4.6, a stable release.

There have been 52 commits by 6 people in the 38 weeks since 4.5.

See the NEWS below for a brief summary.

Special thanks to Assaf Gordon for doing so much of the work.
Thanks to everyone else who has contributed!
The following people contributed changes to this release:

  Assaf Gordon (39)
  Bernhard Voelker (1)
  Bjarni Ingi Gislason (1)
  Clint Adams (1)
  Jannick (1)
  Jim Meyering (9)

Jim [on behalf of the sed maintainers]

Here is the GNU sed home page:

For a summary of changes and contributors, see:;a=shortlog;h=v4.6
or run this command from a git-cloned sed directory:
  git shortlog v4.5..v4.6

To summarize the 465 gnulib-related changes, run these commands
from a git-cloned sed directory:
  git checkout v4.6
  git submodule summary v4.5
Here are the compressed sources and a GPG detached signature[*]:

Use a mirror for higher download bandwidth:

[*] Use a .sig file to verify that the corresponding file (without the
.sig suffix) is intact.  First, be sure to download both the .sig file
and the corresponding tarball.  Then, run a command like this:

  gpg --verify sed-4.6.tar.xz.sig

If that command fails because you don't have the required public key,
then run this command to import it:

  gpg --keyserver --recv-keys 7FD9FCCB000BEEEE

and rerun the 'gpg --verify' command.

This release was bootstrapped with the following tools:
  Autoconf 2.69.197-b8fd7
  Automake 1.16a
  Gnulib v0.1-2296-g453f37e2b


* Noteworthy changes in release 4.6 (2018-12-19) [stable]

** Improvements

  sed now prints a clear error message when r/R/w/W (and s///w) commands
  are missing a filename. Previously, w/W commands would fail with confusing
  error message, while r/R would be a silent no-op.

  sed now uses fully-buffered output (instead of line-buffered) when
  writing to files. This should noticeably improve performance of "sed -i"
  and other write commands.
  Buffering can be disabled (as before) with "sed -u".

  sed in non-cygwin windows environments (e.g. mingw) now properly handles
  '\n' newlines in -b/--binary mode.

** Bug fixes

  sed no longer accesses invalid memory (heap overflow) when given invalid
  backreferences in 's' command [bug#32082, present at least since sed-4.0.6].

  sed no longer adds extraneous NUL when given s/$//n command.
  [related to bug#32271, present since sed-4.0.7]

  sed no longer accesses invalid memory (heap overflow) with s/$//n regexes.
  [bug#32271, present since sed-4.3].

** New Features

  New option, --debug: print the input sed script in canonical form
  and annotate program execution.


Back to the top

Powered by Savane 3.13-ee12.
Corresponding source code