delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/08/15/00:01:12

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B66083892466
Authentication-Results: sourceware.org; dmarc=none (p=none dis=none)
header.from=SystematicSW.ab.ca
Authentication-Results: sourceware.org;
spf=none smtp.mailfrom=systematicsw.ab.ca
X-Authority-Analysis: v=2.4 cv=B4F8bMhM c=1 sm=1 tr=0 ts=6118905f
a=T+ovY1NZ+FAi/xYICV7Bgg==:117 a=T+ovY1NZ+FAi/xYICV7Bgg==:17 a=mDV3o1hIAAAA:8
a=B_eygcfAPifmwm54rCoA:9 a=_FVE-zBwftR9WsbkzFJk:22
From: Cygwin sed Co-Maintainer <Brian DOT Inglis AT SystematicSW DOT ab DOT ca>
To: cygwin AT cygwin DOT com
Date: Sat, 14 Aug 2021 21:55:07 -0600
Message-Id: <announce.20210814215507.47306-1-Brian.Inglis@SystematicSW.ab.ca>
Subject: [ANNOUNCEMENT] Updated: sed 4.8
X-CMAE-Envelope: MS4xfL1ta9zTYmpVg9387X/A6zeO7f7tVbFdwUlX1fVL+HqydarnBPgLj5MrFP+oN2jym+T13cAE8mFbRop5k/Ot+gHEBhX0OmPWv1gWz+Fm0NiYn8Oahqze
wZHJ4p97VKD2CgPQFEo65wS02XGbCE6SnDicvGTD46ImsEj1jjXcnyJW1KooYCiUB8XbNSNyV/jbz44sZGIdPpkdFgSsRPN/3j68TCsr0NJgQqkVeANn9QFN
I9t+iUB3Q8t3DjJ01NzH+lQx/OlMujWJkyL8UQ7mNCA=
X-Spam-Status: No, score=-1160.6 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
KAM_LAZY_DOMAIN_SECURITY, KAM_NUMSUBJECT, KAM_SHORT, RCVD_IN_BARRACUDACENTRAL,
RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE,
TXREP autolearn=no autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin-announce AT cygwin DOT com
X-Mailman-Version: 2.1.29
X-Mailer: Perl5 Mail::Internet v2.20
X-BeenThere: cygwin AT cygwin DOT com
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: cygwin AT cygwin DOT com
MIME-Version: 1.0
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

The following packages have been upgraded in the Cygwin distribution:

* sed	4.8

The sed (Stream EDitor) editor is a stream or batch (non-interactive)
editor. Sed takes text as input, performs an operation or set of
operations on the text, and outputs the modified text. The operations
that sed performs (substitutions, deletions, insertions, etc.) can be
specified in a script file or from the command line.

For more information see the project home pages:

	https://www.gnu.org/software/sed/
	https://sv.gnu.org/projects/sed/

For changes since the previous Cygwin release please see below or read
/usr/share/doc/sed/NEWS after installation; for complete details see:

	/usr/share/doc/sed/ChangeLog
	https://git.sv.gnu.org/gitweb/?p=sed.git;a=log;h=refs/tags/v4.8


Noteworthy changes in release 4.8 (2020-01-14) [stable]

* Bug fixes
  "sed -i" now creates temporary files with correct umask (limited to u=rwx).
  Previously sed would incorrectly set umask on temporary files, resulting
  in problems under certain fuse-like file systems.
  [bug introduced in sed 4.2.1]

* Release
  distribute gzip-compressed tarballs once again

* Improvements
  a year's worth of gnulib development, including improved DFA performance


Noteworthy changes in release 4.7 (2018-12-20) [stable]

* Bug fixes
  Some uses of \b in the C locale and with the DFA matcher would fail, e.g.,
  the following would mistakenly print "123-x" instead of "123":
    echo 123-x|LC_ALL=C sed 's/.\bx//'
  Using a multibyte locale or certain regexp constructs (some ranges,
  backreferences) would avoid the bug.  [bug introduced in sed 4.6]


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.


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
  v4.1a-5-gba68fb4]

  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/'
     z
  New behavior:
     $ echo z | sed -E 's/(z)/\x5c1/'
     \1


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019