Web lists-archives.com

[ANNOUNCEMENT] Updated: grep-3.0-2

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.

Eric Blake
volunteer cygwin grep package maintainer

For more details on this list (including unsubscription), see:

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