Back to project All releases of sed



4.2.1 Release Notes: sed -i now preserves SELinux security contexts, and temporary files for sed -i are kept readable only by the user until they are complete. A problem with regular expressions including three or more consecutive brackets has been fixed.



4.2 Release Notes: This release improved portability and increased speed in UTF-8 locales. A period in regular expressions now accepts NUL bytes. ACLs correctly preserved in in-place mode. A new --follow-symlinks option is available when editing a file in-place. Hold-space is reset between different files in -i and -s modes. A new 'z' extension clears pattern space even in the presence of invalid multi-byte sequences. Bugs in multi-byte processing were fixed. More GNU extensions are now turned off by the --posix options, including all GNU extensions to regular expressions.



4.1.5 Release Notes: Parsing of a negative character class that includes a closed bracket (like [^]] or [^]a-z]) was fixed. Parsing of "[" inside a "y" command (like y/[/A/) was fixed. The result of the "a", "r", and "R" commands is output when a "q" command is found.



4.1.4 Release Notes: In this version, \B correctly means "not on a word boundary" rather than "inside a word", matching sed 3.x and Perl. Regular expression addresses no longer use leftmost-longest matching: e.g. /.\+/ only looks for a single character, and does not try to find as many of them as possible like it used to do. Documentation about the new interpretation of `s|abc\|def||' in NEWS, and about localization issues, was added. A --disable-nls build problems on Solaris was fixed, as was `make check' in non-English locales. Speedups (up to 30-40%) to regular expression matching were made.



4.1.2 Release Notes: This release has several important bugfixes, mostly related to localization and support of multi-byte character sets. This release will be in Debian Sarge.



4.1.1 Release Notes: This fixes a couple of major bugs: permissions were not preserved in in-place editing mode, and case-insensitive substitutions did not work. Plus, in-place editing mode now gives an error when working on a terminal or other non- regular file, and - does not mean stdin in in-place editing mode.



4.1 Release Notes: Multi-byte character sets are handled better. Files that do not end with a new-line character are handled more intuitively. Better error messages are produced for I/O errors. In-place editing temporary files are not left on disk when I/O errors occur. If you jump around commands that use line address ranges, the ranges are activated and deactivated properly. POSIXLY_CORRECT now only disables incompatible GNU extensions, and a separate --posix option disables all of them. In --posix and POSIXLY_CORRECT mode, [

] now matches the two characters "backslash" and "n" instead of a newline.



4.0f Release Notes: This release candidate features better error messages and fixed a bug that caused in-place editing temporary files to be left on disk when I/O errors occurred.



3.61 Release Notes: This release includes all of the changes that will be in GNU sed 4.1, including improvements to POSIX compliancy, portability fixes, bugfixes, better error messages, and better multibyte character set support (the regex matcher is not MBCS-enabled, though). In addition to these features, Perl's '\G' regular expression feature is now supported in both Perl and POSIX regular expressions.