This is the mail archive of the
mailing list for the Cygwin project.
- From: "Eric Blake (cygwin)" <eblake at redhat dot com>
- To: cygwin-announce at cygwin dot com
- Date: Mon, 20 Feb 2017 09:28:34 -0600
- Subject: Updated: grep-3.0-2
- Authentication-results: sourceware.org; auth=none
- Reply-to: The Cygwin Mailing List <cygwin at cygwin dot com>
- Reply-to: The Cygwin Mailing List <cygwin at cygwin dot com>, cygwin at cygwin dot com
The 3.0-2 release of grep has been promoted from experimental to current.
This release introduces an important change in behavior from earlier
versions: when operating on binary mounts, grep 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 sed 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 grep. The impact of the options 'grep -u' and
'grep -U' is now limited to just text-mounted file descriptors. For
more details on grep, see the documentation in /usr/share/doc/grep/.
GNU Grep searches one or more input files for lines containing a match
to a specified patter. By default, Grep outputs the matching lines.
The GNU implementation includes several useful extensions over POSIX.
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 'grep'
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 grep package maintainer
For more details on this list (including unsubscription), see: