newsGNU sed - News


sed-4.5 released [stable]

Item posted by Jim Meyering <meyering> on Sun 01 Apr 2018 02:18:00 AM UTC.

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

There have been 110 commits by 8 people in the 60 weeks since 4.4.
Thanks especially to Assaf Gordon for so much fine work.

See the NEWS below for a brief summary.

Thanks to everyone who has contributed!
The following people contributed changes to this release:

  0xddaa (1)
  Alexandre Jasmin (4)
  Assaf Gordon (73)
  Jakub Martisko (1)
  Jim Meyering (28)
  Kent Fredric (1)
  Mike Frysinger (1)
  Thorsten Heymann (1)

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.5
or run this command from a git-cloned sed directory:
  git shortlog v4.4..v4.5

To summarize the 685 gnulib-related changes, run these commands
from a git-cloned sed directory:
  git checkout v4.5
  git submodule summary v4.4

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.5.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.193-8974
  Automake 1.16a
  Gnulib v0.1-1831-gad52c652a


* Noteworthy changes in release 4.5 (2018-03-31) [stable]

** Bug fixes

  sed now fails when matching very long input lines (>2GB).
  Before, sed would silently ignore the regex without indicating an
  error. [Bug present at least since sed-3.02]

  sed no longer rejects comments and closing braces after y/// commands.
  [Bug existed at least since sed-3.02]

  sed -E --posix no longer ignores special meaning of '+','?','|' .
  [Bug introduced in the original implementation of --posix option in

  sed -i now creates selinux context based on the context of the symlink
  instead of the symlink target. [Bug present since at least sed-4.2]
  sed -i --follow-symlinks remains unchanged.

  sed now treats the sequence '\x5c' (ASCII 92, backslash) as literal
  backslash character, not as an escape prefix character.
  [Bug present since sed-3.02.80]
  Old behavior:
     $ echo z | sed -E 's/(z)/\x5c1/' # identical to 's/(z)/\1/'
  New behavior:
     $ echo z | sed -E 's/(z)/\x5c1/'

Back to the top

Powered by Savane 3.13-b921.
Corresponding source code