Eric Blake (cygwin)
Mon Feb 20 15:46:00 GMT 2017
The 4.4-1 release of sed has been promoted from experimental to current.
This is a new upstream release, packaged by a new maintainer. This
release introduces an important change in behavior from earlier
versions: when operating on binary mounts, sed no longer forces text
mode, and therefore no longer strips carriage returns (behaving more
like Linux on those carriage returns). Behavior on text mode mounts is
unchanged (where carriage returns are already taken care of by the fact
that the file is opened in text mode rather than binary mode). This
change is made in parallel to grep and awk changes along the same lines.
Since this includes pipelines by default, this means that if you pipe
text data through a pipeline (such as the output of a windows program),
you may need to insert a call to d2u (or similar) to sanitize your input
before passing it to sed. For more details on sed, see the
documentation in /usr/share/doc/sed/.
The GNU 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
To update your installation, click on the "Install Cygwin now" link on
the http://cygwin.com/ web page. This downloads setup.exe to your
system. Save it and run setup, answer the questions and pick up 'sed'
in the 'Base' category (it should already be selected).
Note that downloads from cygwin.com aren't allowed due to bandwidth
limitations. This means that you will need to find a mirror which has
this update, please choose the one nearest to you:
If you want to make a point or ask a question the Cygwin mailing list is
the appropriate place.
volunteer cygwin sed package maintainer
For more details on this list (including unsubscription), see:
More information about the Cygwin-announce