From MAILER-DAEMON Mon Dec 12 08:10:52 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Ra5ee-0006CB-EJ
	for mharc-grep-commit@gnu.org; Mon, 12 Dec 2011 08:10:52 -0500
Received: from eggs.gnu.org ([140.186.70.92]:54679)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Ra5eW-0006BY-46
	for grep-commit@gnu.org; Mon, 12 Dec 2011 08:10:51 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Ra5eR-0008O8-Ay
	for grep-commit@gnu.org; Mon, 12 Dec 2011 08:10:44 -0500
Received: from vcs.savannah.gnu.org ([140.186.70.72]:60887)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Ra5eR-0008O4-3L
	for grep-commit@gnu.org; Mon, 12 Dec 2011 08:10:39 -0500
Received: from meyering by vcs.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <jim@meyering.net>) id 1Ra5eQ-0000gI-JT
	for grep-commit@gnu.org; Mon, 12 Dec 2011 13:10:39 +0000
Date: Mon, 12 Dec 2011 13:10:38 +0000
Message-Id: <E1Ra5eQ-0000gI-JT@vcs.savannah.gnu.org>
To: grep-commit@gnu.org
Subject: grep branch, master, updated. v2.10-16-g0ba89c0
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 9d68b23adfe963387525a5a3e8eb84957ee17212
X-Git-Newrev: 0ba89c07c583fb7bc24225f6dca66fd066169497
From: Jim Meyering <jim@meyering.net>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 140.186.70.72
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: bug-grep@gnu.org
List-Id: CVS commit notices for GNU grep <grep-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/grep-commit>,
	<mailto:grep-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/grep-commit>
List-Post: <mailto:grep-commit@gnu.org>
List-Help: <mailto:grep-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/grep-commit>,
	<mailto:grep-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 12 Dec 2011 13:10:51 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grep".

The branch, master has been updated
       via  0ba89c07c583fb7bc24225f6dca66fd066169497 (commit)
       via  ed071726be5758b1422d7972450a1867655268b4 (commit)
       via  979592944f06bddb108458073239d2ff52d2c475 (commit)
      from  9d68b23adfe963387525a5a3e8eb84957ee17212 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=0ba89c07c583fb7bc24225f6dca66fd066169497


commit 0ba89c07c583fb7bc24225f6dca66fd066169497
Author: Jim Meyering <meyering@redhat.com>
Date:   Mon Dec 12 13:36:46 2011 +0100

    build: use gnulib's iswctype wcscoll
    
    * bootstrap.conf (gnulib_modules): Add iswctype and wcscoll.
    * configure.ac: Remove explicit checks for those functions.
    * src/mbsupport.h (MBS_SUPPORT): Define to 1 if not already defined.
    Remove the conditional, now that we're guaranteed by gnulib to have
    wcscoll and iswctype.
    Suggested by Alan Hourihane in http://savannah.gnu.org/bugs/?34930

diff --git a/bootstrap.conf b/bootstrap.conf
index c3b7158..64e4ea6 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -43,6 +43,7 @@ ignore-value
 intprops
 isblank
 isdir
+iswctype
 largefile
 lseek
 locale
@@ -79,6 +80,7 @@ useless-if-before-free
 version-etc-fsf
 wchar
 wcrtomb
+wcscoll
 wctob
 wctype-h
 xalloc
diff --git a/configure.ac b/configure.ac
index 6c0f29d..3eff422 100644
--- a/configure.ac
+++ b/configure.ac
@@ -183,7 +183,7 @@ AC_HEADER_DIRENT
 dnl Checks for functions.
 AC_FUNC_CLOSEDIR_VOID
 
-AC_CHECK_FUNCS_ONCE(isascii iswctype setlocale wcscoll)
+AC_CHECK_FUNCS_ONCE(isascii setlocale)
 
 dnl I18N feature
 AM_GNU_GETTEXT_VERSION([0.18])
diff --git a/src/mbsupport.h b/src/mbsupport.h
index 06729e1..4529134 100644
--- a/src/mbsupport.h
+++ b/src/mbsupport.h
@@ -17,21 +17,10 @@
    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
    02110-1301, USA.  */
 
-
-/* This file is needed so that we test for i18n support in just one place.
-   This gives us a consistent definition for all uses of MBS_SUPPORT. This
-   follows the ``Don't Repeat Yourself'' principle from "The Pragmatic
-   Programmer".
-
-   The tests should be *all* the ones that are needed for an individual
-   application.  */
-
 #include <stdlib.h>
 
-#if defined HAVE_WCSCOLL && defined HAVE_ISWCTYPE
+#ifndef MBS_SUPPORT
 # define MBS_SUPPORT 1
-#else
-# define MBS_SUPPORT 0
 #endif
 
 #if ! MBS_SUPPORT

http://git.savannah.gnu.org/cgit/grep.git/commit/?id=ed071726be5758b1422d7972450a1867655268b4


commit 0ba89c07c583fb7bc24225f6dca66fd066169497
Author: Jim Meyering <meyering@redhat.com>
Date:   Mon Dec 12 13:36:46 2011 +0100

    build: use gnulib's iswctype wcscoll
    
    * bootstrap.conf (gnulib_modules): Add iswctype and wcscoll.
    * configure.ac: Remove explicit checks for those functions.
    * src/mbsupport.h (MBS_SUPPORT): Define to 1 if not already defined.
    Remove the conditional, now that we're guaranteed by gnulib to have
    wcscoll and iswctype.
    Suggested by Alan Hourihane in http://savannah.gnu.org/bugs/?34930

diff --git a/bootstrap.conf b/bootstrap.conf
index c3b7158..64e4ea6 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -43,6 +43,7 @@ ignore-value
 intprops
 isblank
 isdir
+iswctype
 largefile
 lseek
 locale
@@ -79,6 +80,7 @@ useless-if-before-free
 version-etc-fsf
 wchar
 wcrtomb
+wcscoll
 wctob
 wctype-h
 xalloc
diff --git a/configure.ac b/configure.ac
index 6c0f29d..3eff422 100644
--- a/configure.ac
+++ b/configure.ac
@@ -183,7 +183,7 @@ AC_HEADER_DIRENT
 dnl Checks for functions.
 AC_FUNC_CLOSEDIR_VOID
 
-AC_CHECK_FUNCS_ONCE(isascii iswctype setlocale wcscoll)
+AC_CHECK_FUNCS_ONCE(isascii setlocale)
 
 dnl I18N feature
 AM_GNU_GETTEXT_VERSION([0.18])
diff --git a/src/mbsupport.h b/src/mbsupport.h
index 06729e1..4529134 100644
--- a/src/mbsupport.h
+++ b/src/mbsupport.h
@@ -17,21 +17,10 @@
    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
    02110-1301, USA.  */
 
-
-/* This file is needed so that we test for i18n support in just one place.
-   This gives us a consistent definition for all uses of MBS_SUPPORT. This
-   follows the ``Don't Repeat Yourself'' principle from "The Pragmatic
-   Programmer".
-
-   The tests should be *all* the ones that are needed for an individual
-   application.  */
-
 #include <stdlib.h>
 
-#if defined HAVE_WCSCOLL && defined HAVE_ISWCTYPE
+#ifndef MBS_SUPPORT
 # define MBS_SUPPORT 1
-#else
-# define MBS_SUPPORT 0
 #endif
 
 #if ! MBS_SUPPORT

http://git.savannah.gnu.org/cgit/grep.git/commit/?id=979592944f06bddb108458073239d2ff52d2c475


commit 0ba89c07c583fb7bc24225f6dca66fd066169497
Author: Jim Meyering <meyering@redhat.com>
Date:   Mon Dec 12 13:36:46 2011 +0100

    build: use gnulib's iswctype wcscoll
    
    * bootstrap.conf (gnulib_modules): Add iswctype and wcscoll.
    * configure.ac: Remove explicit checks for those functions.
    * src/mbsupport.h (MBS_SUPPORT): Define to 1 if not already defined.
    Remove the conditional, now that we're guaranteed by gnulib to have
    wcscoll and iswctype.
    Suggested by Alan Hourihane in http://savannah.gnu.org/bugs/?34930

diff --git a/bootstrap.conf b/bootstrap.conf
index c3b7158..64e4ea6 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -43,6 +43,7 @@ ignore-value
 intprops
 isblank
 isdir
+iswctype
 largefile
 lseek
 locale
@@ -79,6 +80,7 @@ useless-if-before-free
 version-etc-fsf
 wchar
 wcrtomb
+wcscoll
 wctob
 wctype-h
 xalloc
diff --git a/configure.ac b/configure.ac
index 6c0f29d..3eff422 100644
--- a/configure.ac
+++ b/configure.ac
@@ -183,7 +183,7 @@ AC_HEADER_DIRENT
 dnl Checks for functions.
 AC_FUNC_CLOSEDIR_VOID
 
-AC_CHECK_FUNCS_ONCE(isascii iswctype setlocale wcscoll)
+AC_CHECK_FUNCS_ONCE(isascii setlocale)
 
 dnl I18N feature
 AM_GNU_GETTEXT_VERSION([0.18])
diff --git a/src/mbsupport.h b/src/mbsupport.h
index 06729e1..4529134 100644
--- a/src/mbsupport.h
+++ b/src/mbsupport.h
@@ -17,21 +17,10 @@
    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
    02110-1301, USA.  */
 
-
-/* This file is needed so that we test for i18n support in just one place.
-   This gives us a consistent definition for all uses of MBS_SUPPORT. This
-   follows the ``Don't Repeat Yourself'' principle from "The Pragmatic
-   Programmer".
-
-   The tests should be *all* the ones that are needed for an individual
-   application.  */
-
 #include <stdlib.h>
 
-#if defined HAVE_WCSCOLL && defined HAVE_ISWCTYPE
+#ifndef MBS_SUPPORT
 # define MBS_SUPPORT 1
-#else
-# define MBS_SUPPORT 0
 #endif
 
 #if ! MBS_SUPPORT

-----------------------------------------------------------------------

Summary of changes:
 NEWS                    |   12 ++++++++++++
 bootstrap.conf          |    2 ++
 configure.ac            |    2 +-
 src/main.c              |   18 +++++++++++++++---
 src/mbsupport.h         |   13 +------------
 tests/in-eq-out-infloop |    9 +++++++++
 6 files changed, 40 insertions(+), 16 deletions(-)


hooks/post-receive
-- 
grep


From MAILER-DAEMON Mon Dec 12 11:55:20 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Ra99s-0003Ss-RG
	for mharc-grep-commit@gnu.org; Mon, 12 Dec 2011 11:55:20 -0500
Received: from eggs.gnu.org ([140.186.70.92]:57742)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Ra99j-0003SR-Eq
	for grep-commit@gnu.org; Mon, 12 Dec 2011 11:55:19 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Ra99d-0004Ia-TM
	for grep-commit@gnu.org; Mon, 12 Dec 2011 11:55:11 -0500
Received: from vcs.savannah.gnu.org ([140.186.70.72]:40056)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Ra99d-0004IQ-PU
	for grep-commit@gnu.org; Mon, 12 Dec 2011 11:55:05 -0500
Received: from meyering by vcs.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <jim@meyering.net>) id 1Ra99d-000516-E6
	for grep-commit@gnu.org; Mon, 12 Dec 2011 16:55:05 +0000
Date: Mon, 12 Dec 2011 16:55:05 +0000
Message-Id: <E1Ra99d-000516-E6@vcs.savannah.gnu.org>
To: grep-commit@gnu.org
Subject: grep branch, master, updated. v2.10-17-g1ca631f
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 0ba89c07c583fb7bc24225f6dca66fd066169497
X-Git-Newrev: 1ca631f8e3cffa22554865ac11903b5afa647c00
From: Jim Meyering <jim@meyering.net>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 140.186.70.72
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: bug-grep@gnu.org
List-Id: CVS commit notices for GNU grep <grep-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/grep-commit>,
	<mailto:grep-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/grep-commit>
List-Post: <mailto:grep-commit@gnu.org>
List-Help: <mailto:grep-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/grep-commit>,
	<mailto:grep-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 12 Dec 2011 16:55:19 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grep".

The branch, master has been updated
       via  1ca631f8e3cffa22554865ac11903b5afa647c00 (commit)
      from  0ba89c07c583fb7bc24225f6dca66fd066169497 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=1ca631f8e3cffa22554865ac11903b5afa647c00


commit 1ca631f8e3cffa22554865ac11903b5afa647c00
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Thu Dec 8 20:31:44 2011 +0200

    doc: improve grep.texi
    
    * doc/grep.texi: General editing for improved aesthetics.
    Also fix a few problems.

diff --git a/doc/grep.texi b/doc/grep.texi
index b1b879a..8b55d9a 100644
--- a/doc/grep.texi
+++ b/doc/grep.texi
@@ -72,7 +72,7 @@ This manual is for version @value{VERSION} of GNU Grep.
 
 @cindex searching for a pattern
 
-@command{grep} searches the input files
+@command{grep} searches input files
 for lines containing a match to a given pattern list.
 When it finds a match in a line,
 it copies the line to standard output (by default),
@@ -116,13 +116,13 @@ There can be zero or more @var{input_file_names}.
 @section Command-line Options
 
 @command{grep} comes with a rich set of options:
-some from @sc{posix.2} and some being @sc{gnu} extensions.
-Long option names are always a @sc{gnu} extension,
-even for options that are from @sc{posix} specifications.
-Options that are specified by @sc{posix},
+some from POSIX and some being GNU extensions.
+Long option names are always a GNU extension,
+even for options that are from POSIX specifications.
+Options that are specified by POSIX,
 under their short names,
 are explicitly marked as such
-to facilitate @sc{posix}-portable programming.
+to facilitate POSIX-portable programming.
 A few option names are provided
 for compatibility with older or more exotic implementations.
 
@@ -143,7 +143,7 @@ which variant of the @command{grep} matching engine is used.
 @node Generic Program Information
 @subsection Generic Program Information
 
-@table @samp
+@table @option
 
 @item --help
 @opindex --help
@@ -164,7 +164,7 @@ This version number should be included in all bug reports.
 @node Matching Control
 @subsection Matching Control
 
-@table @samp
+@table @option
 
 @item -e @var{pattern}
 @itemx --regexp=@var{pattern}
@@ -174,7 +174,7 @@ This version number should be included in all bug reports.
 Use @var{pattern} as the pattern.
 This can be used to specify multiple search patterns,
 or to protect a pattern beginning with a @samp{-}.
-(@samp{-e} is specified by @sc{posix}.)
+(@option{-e} is specified by POSIX.)
 
 @item -f @var{file}
 @itemx --file=@var{file}
@@ -183,7 +183,7 @@ or to protect a pattern beginning with a @samp{-}.
 @cindex pattern from file
 Obtain patterns from @var{file}, one per line.
 The empty file contains zero patterns, and therefore matches nothing.
-(@samp{-f} is specified by @sc{posix}.)
+(@option{-f} is specified by POSIX.)
 
 @item -i
 @itemx -y
@@ -193,8 +193,8 @@ The empty file contains zero patterns, and therefore matches nothing.
 @opindex --ignore-case
 @cindex case insensitive search
 Ignore case distinctions in both the pattern and the input files.
-@samp{-y} is an obsolete synonym that is provided for compatibility.
-(@samp{-i} is specified by @sc{posix}.)
+@option{-y} is an obsolete synonym that is provided for compatibility.
+(@option{-i} is specified by POSIX.)
 
 @item -v
 @itemx --invert-match
@@ -203,7 +203,7 @@ Ignore case distinctions in both the pattern and the input files.
 @cindex invert matching
 @cindex print non-matching lines
 Invert the sense of matching, to select non-matching lines.
-(@samp{-v} is specified by @sc{posix}.)
+(@option{-v} is specified by POSIX.)
 
 @item -w
 @itemx --word-regexp
@@ -225,14 +225,14 @@ Word-constituent characters are letters, digits, and the underscore.
 @opindex --line-regexp
 @cindex match the whole line
 Select only those matches that exactly match the whole line.
-(@samp{-x} is specified by @sc{posix}.)
+(@option{-x} is specified by POSIX.)
 
 @end table
 
 @node General Output Control
 @subsection General Output Control
 
-@table @samp
+@table @option
 
 @item -c
 @itemx --count
@@ -241,9 +241,9 @@ Select only those matches that exactly match the whole line.
 @cindex counting lines
 Suppress normal output;
 instead print a count of matching lines for each input file.
-With the @samp{-v}, @samp{--invert-match} option,
+With the @option{-v} (@option{--invert-match}) option,
 count non-matching lines.
-(@samp{-c} is specified by @sc{posix}.)
+(@option{-c} is specified by POSIX.)
 
 @item --color[=@var{WHEN}]
 @itemx --colour[=@var{WHEN}]
@@ -254,11 +254,11 @@ Surround the matched (non-empty) strings, matching lines, context lines,
 file names, line numbers, byte offsets, and separators (for fields and
 groups of context lines) with escape sequences to display them in color
 on the terminal.
-The colors are defined by the environment variable @var{GREP_COLORS}
+The colors are defined by the environment variable @env{GREP_COLORS}
 and default to @samp{ms=01;31:mc=01;31:sl=:cx=:fn=35:ln=32:bn=32:se=36}
 for bold red matched text, magenta file names, green line numbers,
 green byte offsets, cyan separators, and default terminal colors otherwise.
-The deprecated environment variable @var{GREP_COLOR} is still supported,
+The deprecated environment variable @env{GREP_COLOR} is still supported,
 but its setting does not have priority;
 it defaults to `01;31' (bold red)
 which only covers the color for matched text.
@@ -272,7 +272,7 @@ which only covers the color for matched text.
 Suppress normal output;
 instead print the name of each input file from which
 no output would normally have been printed.
-The scanning of every file will stop on the first match.
+The scanning of each file stops on the first match.
 
 @item -l
 @itemx --files-with-matches
@@ -282,8 +282,8 @@ The scanning of every file will stop on the first match.
 Suppress normal output;
 instead print the name of each input file from which
 output would normally have been printed.
-The scanning of every file will stop on the first match.
-(@samp{-l} is specified by @sc{posix}.)
+The scanning of each file stops on the first match.
+(@option{-l} is specified by POSIX.)
 
 @item -m @var{num}
 @itemx --max-count=@var{num}
@@ -322,9 +322,9 @@ When @command{grep} stops after @var{num} matching lines,
 it outputs any trailing context lines.
 Since context does not include matching lines,
 @command{grep} will stop when it encounters another matching line.
-When the @samp{-c} or @samp{--count} option is also used,
+When the @option{-c} or @option{--count} option is also used,
 @command{grep} does not output a count greater than @var{num}.
-When the @samp{-v} or @samp{--invert-match} option is also used,
+When the @option{-v} or @option{--invert-match} option is also used,
 @command{grep} stops after outputting @var{num} non-matching lines.
 
 @item -o
@@ -345,8 +345,8 @@ with each such part on a separate output line.
 Quiet; do not write anything to standard output.
 Exit immediately with zero status if any match is found,
 even if an error was detected.
-Also see the @samp{-s} or @samp{--no-messages} option.
-(@samp{-q} is specified by @sc{posix}.)
+Also see the @option{-s} or @option{--no-messages} option.
+(@option{-q} is specified by POSIX.)
 
 @item -s
 @itemx --no-messages
@@ -355,17 +355,18 @@ Also see the @samp{-s} or @samp{--no-messages} option.
 @cindex suppress error messages
 Suppress error messages about nonexistent or unreadable files.
 Portability note:
-unlike @sc{gnu} @command{grep},
-7th Edition Unix @command{grep} did not conform to @sc{posix},
-because it lacked @samp{-q}
-and its @samp{-s} option behaved like
-@sc{gnu} @command{grep}'s @samp{-q} option.
-@sc{usg}-style @command{grep} also lacked @samp{-q}
-but its @samp{-s} option behaved like @sc{gnu} @command{grep}'s.
+unlike GNU @command{grep},
+7th Edition Unix @command{grep} did not conform to POSIX,
+because it lacked @option{-q}
+and its @option{-s} option behaved like
+GNU @command{grep}'s @option{-q} option.@footnote{Of course, 7th Edition
+Unix predated POSIX by several years!}
+USG-style @command{grep} also lacked @option{-q}
+but its @option{-s} option behaved like GNU @command{grep}'s.
 Portable shell scripts should avoid both
-@samp{-q} and @samp{-s} and should redirect
+@option{-q} and @option{-s} and should redirect
 standard and error output to @file{/dev/null} instead.
-(@samp{-s} is specified by @sc{posix}.)
+(@option{-s} is specified by POSIX.)
 
 @end table
 
@@ -376,7 +377,7 @@ When several prefix fields are to be output,
 the order is always file name, line number, and byte offset,
 regardless of the order in which these options were specified.
 
-@table @samp
+@table @option
 
 @item -b
 @itemx --byte-offset
@@ -385,11 +386,11 @@ regardless of the order in which these options were specified.
 @cindex byte offset
 Print the 0-based byte offset within the input file
 before each line of output.
-If @samp{-o} (@samp{--only-matching}) is specified,
+If @option{-o} (@option{--only-matching}) is specified,
 print the offset of the matching part itself.
-When @command{grep} runs on @sc{ms-dos} or @sc{ms}-Windows,
+When @command{grep} runs on MS-DOS or MS-Windows,
 the printed byte offsets depend on whether
-the @samp{-u} (@samp{--unix-byte-offsets}) option is used;
+the @option{-u} (@option{--unix-byte-offsets}) option is used;
 see below.
 
 @item -H
@@ -427,7 +428,7 @@ gzip -cd foo.gz | grep --label=foo -H something
 @opindex --line-number
 @cindex line numbering
 Prefix each line of output with the 1-based line number within its input file.
-(@samp{-n} is specified by @sc{posix}.)
+(@option{-n} is specified by POSIX.)
 
 @item -T
 @itemx --initial-tab
@@ -437,7 +438,7 @@ Prefix each line of output with the 1-based line number within its input file.
 Make sure that the first character of actual line content lies on a tab stop,
 so that the alignment of tabs looks normal.
 This is useful with options that prefix their output to the actual content:
-@samp{-H}, @samp{-n}, and @samp{-b}.
+@option{-H}, @option{-n}, and @option{-b}.
 In order to improve the probability that lines
 from a single file will all start at the same column,
 this also causes the line number and byte offset (if present)
@@ -447,23 +448,23 @@ to be printed in a minimum-size field width.
 @itemx --unix-byte-offsets
 @opindex -u
 @opindex --unix-byte-offsets
-@cindex @sc{ms-dos}/@sc{ms}-Windows byte offsets
-@cindex byte offsets, on @sc{ms-dos}/@sc{ms}-Windows
+@cindex MS-DOS/MS-Windows byte offsets
+@cindex byte offsets, on MS-DOS/MS-Windows
 Report Unix-style byte offsets.
 This option causes @command{grep} to report byte offsets
 as if the file were a Unix-style text file,
 i.e., the byte offsets ignore the @code{CR} characters that were stripped.
 This will produce results identical
 to running @command{grep} on a Unix machine.
-This option has no effect unless the @samp{-b} option is also used;
-it has no effect on platforms other than @sc{ms-dos} and @sc{ms}-Windows.
+This option has no effect unless the @option{-b} option is also used;
+it has no effect on platforms other than MS-DOS and MS-Windows.
 
 @item -Z
 @itemx --null
 @opindex -Z
 @opindex --null
 @cindex zero-terminated file names
-Output a zero byte (the @sc{ascii} @code{NUL} character)
+Output a zero byte (the ASCII @code{NUL} character)
 instead of the character that normally follows a file name.
 For example,
 @samp{grep -lZ} outputs a zero byte after each file name
@@ -482,10 +483,10 @@ even those that contain newline characters.
 
 Regardless of how these options are set,
 @command{grep} will never print any given line more than once.
-If the @samp{-o} or @samp{--only-matching} option is specified,
+If the @option{-o} (@option{--only-matching}) option is specified,
 these options have no effect and a warning is given upon their use.
 
-@table @samp
+@table @option
 
 @item -A @var{num}
 @itemx --after-context=@var{num}
@@ -516,7 +517,7 @@ Print @var{num} lines of leading and trailing output context.
 @opindex --group-separator
 @cindex group separator
 When @option{-A}, @option{-B} or @option{-C} are in use,
-print @var{string} instead of @samp{--} around disjoint groups
+print @var{string} instead of @option{--} around disjoint groups
 of lines.
 
 @item --no-group-separator
@@ -527,26 +528,44 @@ print disjoint groups of lines adjacent to each other.
 
 @end table
 
+Here are some points about how @command{grep} chooses
+the separator to print between prefix fields and line content:
+
+@itemize @bullet
+@item
 Matching lines normally use @samp{:} as a separator
 between prefix fields and actual line content.
+
+@item
 Context (i.e., non-matching) lines use @samp{-} instead.
+
+@item
 When no context is specified,
 matching lines are simply output one right after another.
+
+@item
 When nonzero context is specified,
 lines that are adjacent in the input form a group
 and are output one right after another, while
 a separator appears by default between disjoint groups on a line
-of its own and without any prefix.  The default separator
+of its own and without any prefix.
+
+@item
+The default separator
 is @samp{--}, however whether to include it and its appearance
-can be changed with the options above.  Each group may contain
+can be changed with the options above.
+
+@item
+Each group may contain
 several matching lines when they are close enough to each other
 that two otherwise adjacent but divided groups connect
 and can just merge into a single contiguous one.
+@end itemize
 
 @node File and Directory Selection
 @subsection File and Directory Selection
 
-@table @samp
+@table @option
 
 @item -a
 @itemx --text
@@ -557,7 +576,7 @@ and can just merge into a single contiguous one.
 Process a binary file as if it were text;
 this is equivalent to the @samp{--binary-files=text} option.
 
-@itemx --binary-files=@var{type}
+@item --binary-files=@var{type}
 @opindex --binary-files
 @cindex binary files
 If the first few bytes of a file indicate that the file contains binary data,
@@ -566,12 +585,15 @@ By default, @var{type} is @samp{binary},
 and @command{grep} normally outputs either
 a one-line message saying that a binary file matches,
 or no message if there is no match.
+
 If @var{type} is @samp{without-match},
 @command{grep} assumes that a binary file does not match;
-this is equivalent to the @samp{-I} option.
+this is equivalent to the @option{-I} option.
+
 If @var{type} is @samp{text},
 @command{grep} processes a binary file as if it were text;
-this is equivalent to the @samp{-a} option.
+this is equivalent to the @option{-a} option.
+
 @emph{Warning:} @samp{--binary-files=text} might output binary garbage,
 which can have nasty side effects
 if the output is a terminal and
@@ -602,7 +624,7 @@ to print error messages for every directory or silently skip them).
 If @var{action} is @samp{skip}, directories are silently skipped.
 If @var{action} is @samp{recurse},
 @command{grep} reads all files under each directory, recursively;
-this is equivalent to the @samp{-r} option.
+this is equivalent to the @option{-r} option.
 
 @item --exclude=@var{glob}
 @opindex --exclude
@@ -620,7 +642,7 @@ and @code{\} to quote a wildcard or backslash character literally.
 @cindex searching directory trees
 Skip files whose base name matches any of the file-name globs
 read from @var{file} (using wildcard matching as described
-under @samp{--exclude}).
+under @option{--exclude}).
 
 @item --exclude-dir=@var{dir}
 @opindex --exclude-dir
@@ -637,7 +659,7 @@ this is equivalent to the @samp{--binary-files=without-match} option.
 @cindex include files
 @cindex searching directory trees
 Search only files whose base name matches @var{glob}
-(using wildcard matching as described under @samp{--exclude}).
+(using wildcard matching as described under @option{--exclude}).
 
 @item -r
 @itemx -R
@@ -655,7 +677,7 @@ This is the same as the @samp{--directories=recurse} option.
 @node Other Options
 @subsection Other Options
 
-@table @samp
+@table @option
 
 @item --line-buffered
 @opindex --line-buffered
@@ -675,21 +697,21 @@ better performance.
 @itemx --binary
 @opindex -U
 @opindex --binary
-@cindex @sc{ms-dos}/@sc{ms}-Windows binary files
-@cindex binary files, @sc{ms-dos}/@sc{ms}-Windows
+@cindex MS-DOS/MS-Windows binary files
+@cindex binary files, MS-DOS/MS-Windows
 Treat the file(s) as binary.
-By default, under @sc{ms-dos} and @sc{ms}-Windows,
+By default, under MS-DOS and MS-Windows,
 @command{grep} guesses the file type
 by looking at the contents of the first 32kB read from the file.
 If @command{grep} decides the file is a text file,
 it strips the @code{CR} characters from the original file contents
 (to make regular expressions with @code{^} and @code{$} work correctly).
-Specifying @samp{-U} overrules this guesswork,
+Specifying @option{-U} overrules this guesswork,
 causing all files to be read and passed to the matching mechanism verbatim;
 if the file is a text file with @code{CR/LF} pairs at the end of each line,
 this will cause some regular expressions to fail.
 This option has no effect
-on platforms other than @sc{ms-dos} and @sc{ms}-Windows.
+on platforms other than MS-DOS and MS-Windows.
 
 @item -z
 @itemx --null-data
@@ -697,8 +719,8 @@ on platforms other than @sc{ms-dos} and @sc{ms}-Windows.
 @opindex --null-data
 @cindex zero-terminated lines
 Treat the input as a set of lines, each terminated by a zero byte (the
-@sc{ascii} @code{NUL} character) instead of a newline.
-Like the @samp{-Z} or @samp{--null} option,
+ASCII @code{NUL} character) instead of a newline.
+Like the @option{-Z} or @option{--null} option,
 this option can be used with commands like
 @samp{sort -z} to process arbitrary file names.
 
@@ -722,7 +744,41 @@ for the @code{LC_MESSAGES} category.
 The @samp{C} locale is used if none of these environment variables are set,
 if the locale catalog is not installed,
 or if @command{grep} was not compiled
-with national language support (@sc{nls}).
+with national language support (NLS).
+
+Many of the environment variables in the following list let you
+control highlighting using
+Select Graphic Rendition (SGR)
+commands interpreted by the terminal or terminal emulator.
+(See the
+section
+in the documentation of your text terminal
+for permitted values and their meanings as character attributes.)
+These substring values are integers in decimal representation
+and can be concatenated with semicolons.
+@command{grep} takes care of assembling the result
+into a complete SGR sequence (@samp{\33[}...@samp{m}).
+Common values to concatenate include
+@samp{1} for bold,
+@samp{4} for underline,
+@samp{5} for blink,
+@samp{7} for inverse,
+@samp{39} for default foreground color,
+@samp{30} to @samp{37} for foreground colors,
+@samp{90} to @samp{97} for 16-color mode foreground colors,
+@samp{38;5;0} to @samp{38;5;255}
+for 88-color and 256-color modes foreground colors,
+@samp{49} for default background color,
+@samp{40} to @samp{47} for background colors,
+@samp{100} to @samp{107} for 16-color mode background colors,
+and @samp{48;5;0} to @samp{48;5;255}
+for 88-color and 256-color modes background colors.
+
+The two-letter names used in the @env{GREP_COLORS} environment variable
+(and some of the others) refer to terminal ``capabilities,'' the ability
+of a terminal to highlight text, or change its color, and so on.
+These capabilities are stored in an online database and accessed by
+the @code{terminfo} library.
 
 @cindex environment variables
 
@@ -747,13 +803,13 @@ specify an option containing whitespace or a backslash.
 @vindex GREP_COLOR @r{environment variable}
 @cindex highlight markers
 This variable specifies the color used to highlight matched (non-empty) text.
-It is deprecated in favor of @code{GREP_COLORS}, but still supported.
-The @samp{mt}, @samp{ms}, and @samp{mc} capabilities of @code{GREP_COLORS}
+It is deprecated in favor of @env{GREP_COLORS}, but still supported.
+The @samp{mt}, @samp{ms}, and @samp{mc} capabilities of @env{GREP_COLORS}
 have priority over it.
 It can only specify the color used to highlight
 the matching non-empty text in any matching line
-(a selected line when the @samp{-v} command-line option is omitted,
-or a context line when @samp{-v} is specified).
+(a selected line when the @option{-v} command-line option is omitted,
+or a context line when @option{-v} is specified).
 The default is @samp{01;31},
 which means a bold red foreground text on the terminal's default background.
 
@@ -762,7 +818,7 @@ which means a bold red foreground text on the terminal's default background.
 @cindex highlight markers
 This variable specifies the colors and other attributes
 used to highlight various parts of the output.
-Its value is a colon-separated list of capabilities
+Its value is a colon-separated list of @code{terminfo} capabilities
 that defaults to @samp{ms=01;31:mc=01;31:sl=:cx=:fn=35:ln=32:bn=32:se=36}
 with the @samp{rv} and @samp{ne} boolean capabilities omitted (i.e., false).
 Supported capabilities are as follows.
@@ -772,10 +828,10 @@ Supported capabilities are as follows.
 @vindex sl GREP_COLORS @r{capability}
 SGR substring for whole selected lines
 (i.e.,
-matching lines when the @samp{-v} command-line option is omitted,
-or non-matching lines when @samp{-v} is specified).
+matching lines when the @option{-v} command-line option is omitted,
+or non-matching lines when @option{-v} is specified).
 If however the boolean @samp{rv} capability
-and the @samp{-v} command-line option are both specified,
+and the @option{-v} command-line option are both specified,
 it applies to context matching lines instead.
 The default is empty (i.e., the terminal's default color pair).
 
@@ -783,10 +839,10 @@ The default is empty (i.e., the terminal's default color pair).
 @vindex cx GREP_COLORS @r{capability}
 SGR substring for whole context lines
 (i.e.,
-non-matching lines when the @samp{-v} command-line option is omitted,
-or matching lines when @samp{-v} is specified).
+non-matching lines when the @option{-v} command-line option is omitted,
+or matching lines when @option{-v} is specified).
 If however the boolean @samp{rv} capability
-and the @samp{-v} command-line option are both specified,
+and the @option{-v} command-line option are both specified,
 it applies to selected non-matching lines instead.
 The default is empty (i.e., the terminal's default color pair).
 
@@ -794,15 +850,15 @@ The default is empty (i.e., the terminal's default color pair).
 @vindex rv GREP_COLORS @r{capability}
 Boolean value that reverses (swaps) the meanings of
 the @samp{sl=} and @samp{cx=} capabilities
-when the @samp{-v} command-line option is specified.
+when the @option{-v} command-line option is specified.
 The default is false (i.e., the capability is omitted).
 
 @item mt=01;31
 @vindex mt GREP_COLORS @r{capability}
 SGR substring for matching non-empty text in any matching line
 (i.e.,
-a selected line when the @samp{-v} command-line option is omitted,
-or a context line when @samp{-v} is specified).
+a selected line when the @option{-v} command-line option is omitted,
+or a context line when @option{-v} is specified).
 Setting this is equivalent to setting both @samp{ms=} and @samp{mc=}
 at once to the same value.
 The default is a bold red text foreground over the current line background.
@@ -810,17 +866,17 @@ The default is a bold red text foreground over the current line background.
 @item ms=01;31
 @vindex ms GREP_COLORS @r{capability}
 SGR substring for matching non-empty text in a selected line.
-(This is only used when the @samp{-v} command-line option is omitted.)
+(This is used only when the @option{-v} command-line option is omitted.)
 The effect of the @samp{sl=} (or @samp{cx=} if @samp{rv}) capability
-remains active when this kicks in.
+remains active when this takes effect.
 The default is a bold red text foreground over the current line background.
 
 @item mc=01;31
 @vindex mc GREP_COLORS @r{capability}
 SGR substring for matching non-empty text in a context line.
-(This is only used when the @samp{-v} command-line option is specified.)
+(This is used only when the @option{-v} command-line option is specified.)
 The effect of the @samp{cx=} (or @samp{sl=} if @samp{rv}) capability
-remains active when this kicks in.
+remains active when this takes effect.
 The default is a bold red text foreground over the current line background.
 
 @item fn=35
@@ -855,7 +911,7 @@ each time a colorized item ends.
 This is needed on terminals on which EL is not supported.
 It is otherwise useful on terminals
 for which the @code{back_color_erase}
-(@code{bce}) boolean terminfo capability does not apply,
+(@code{bce}) boolean @code{terminfo} capability does not apply,
 when the chosen highlight colors do not affect the background,
 or when EL is too slow or causes too much flicker.
 The default is false (i.e., the capability is omitted).
@@ -864,28 +920,6 @@ The default is false (i.e., the capability is omitted).
 Note that boolean capabilities have no @samp{=}... part.
 They are omitted (i.e., false) by default and become true when specified.
 
-See the Select Graphic Rendition (SGR) section
-in the documentation of your text terminal
-for permitted values and their meaning as character attributes.
-These substring values are integers in decimal representation
-and can be concatenated with semicolons.
-@command{grep} takes care of assembling the result
-into a complete SGR sequence (@samp{\33[}...@samp{m}).
-Common values to concatenate include
-@samp{1} for bold,
-@samp{4} for underline,
-@samp{5} for blink,
-@samp{7} for inverse,
-@samp{39} for default foreground color,
-@samp{30} to @samp{37} for foreground colors,
-@samp{90} to @samp{97} for 16-color mode foreground colors,
-@samp{38;5;0} to @samp{38;5;255}
-for 88-color and 256-color modes foreground colors,
-@samp{49} for default background color,
-@samp{40} to @samp{47} for background colors,
-@samp{100} to @samp{107} for 16-color mode background colors,
-and @samp{48;5;0} to @samp{48;5;255}
-for 88-color and 256-color modes background colors.
 
 @item LC_ALL
 @itemx LC_COLLATE
@@ -926,9 +960,9 @@ The default @samp{C} locale uses American English messages.
 
 @item POSIXLY_CORRECT
 @vindex POSIXLY_CORRECT @r{environment variable}
-If set, @command{grep} behaves as @sc{posix.2} requires; otherwise,
-@command{grep} behaves more like other @sc{gnu} programs.
-@sc{posix.2}
+If set, @command{grep} behaves as POSIX requires; otherwise,
+@command{grep} behaves more like other GNU programs.
+POSIX
 requires that options that
 follow file names must be treated as file names;
 by default,
@@ -946,7 +980,7 @@ even if it appears to be one.
 A shell can put this variable in the environment for each command it runs,
 specifying which operands are the results of file name wildcard expansion
 and therefore should not be treated as options.
-This behavior is available only with the @sc{gnu} C library,
+This behavior is available only with the GNU C library,
 and only when @code{POSIXLY_CORRECT} is not set.
 
 @end table
@@ -961,7 +995,7 @@ Normally, the exit status is 0 if selected lines are found and 1 otherwise.
 But the exit status is 2 if an error occurred, unless the @option{-q} or
 @option{--quiet} or @option{--silent} option is used and a selected line
 is found.
-Note, however, that @sc{posix} only mandates,
+Note, however, that POSIX only mandates,
 for programs such as @command{grep}, @command{cmp}, and @command{diff},
 that the exit status in case of error be greater than 1;
 it is therefore advisable, for the sake of portability,
@@ -982,7 +1016,7 @@ By default, @command{grep} prints the matching lines.
 There are four major variants of @command{grep},
 controlled by the following options.
 
-@table @samp
+@table @option
 
 @item -G
 @itemx --basic-regexp
@@ -998,7 +1032,7 @@ This is the default.
 @opindex --extended-regexp
 @cindex matching extended regular expressions
 Interpret the pattern as an extended regular expression (ERE).
-(@samp{-E} is specified by @sc{posix}.)
+(@option{-E} is specified by POSIX.)
 
 @item -F
 @itemx --fixed-strings
@@ -1007,7 +1041,7 @@ Interpret the pattern as an extended regular expression (ERE).
 @cindex matching fixed strings
 Interpret the pattern as a list of fixed strings, separated
 by newlines, any of which is to be matched.
-(@samp{-F} is specified by @sc{posix}.)
+(@option{-F} is specified by POSIX.)
 
 @item -P
 @itemx --perl-regexp
@@ -1040,15 +1074,15 @@ by using various operators to combine smaller expressions.
 @command{grep} understands
 three different versions of regular expression syntax:
 ``basic,'' (BRE) ``extended'' (ERE) and ``perl''.
-In @sc{gnu} @command{grep},
-there is no difference in available functionality between basic and
+In GNU @command{grep},
+there is no difference in available functionality between the basic and
 extended syntaxes.
 In other implementations, basic regular expressions are less powerful.
 The following description applies to extended regular expressions;
 differences for basic regular expressions are summarized afterwards.
 Perl regular expressions give additional functionality, and are
-documented in pcresyntax(3) and pcrepattern(3), but may not be
-available on every system.
+documented in the @i{pcresyntax}(3) and @i{pcrepattern}(3) manual pages,
+but may not be available on every system.
 
 @menu
 * Fundamental Structure::
@@ -1171,7 +1205,7 @@ of bracket expressions, you can use the @samp{C} locale by setting the
 Finally, certain named classes of characters are predefined within
 bracket expressions, as follows.
 Their interpretation depends on the @code{LC_CTYPE} locale;
-for example, [[:alnum:]] means the character class of numbers and letters
+for example, @samp{[[:alnum:]]} means the character class of numbers and letters
 in the current locale.
 
 @cindex classes of characters
@@ -1182,13 +1216,13 @@ in the current locale.
 @opindex alnum @r{character class}
 @cindex alphanumeric characters
 Alphanumeric characters:
-@samp{[:alpha:]} and @samp{[:digit:]}; in the @samp{C} locale and @sc{ascii} character encoding, this is the same as @samp{[0-9A-Za-z]}.
+@samp{[:alpha:]} and @samp{[:digit:]}; in the @samp{C} locale and ASCII character encoding, this is the same as @samp{[0-9A-Za-z]}.
 
 @item [:alpha:]
 @opindex alpha @r{character class}
 @cindex alphabetic characters
 Alphabetic characters:
-@samp{[:lower:]} and @samp{[:upper:]}; in the @samp{C} locale and @sc{ascii} character encoding, this is the same as @samp{[A-Za-z]}.
+@samp{[:lower:]} and @samp{[:upper:]}; in the @samp{C} locale and ASCII character encoding, this is the same as @samp{[A-Za-z]}.
 
 @item [:blank:]
 @opindex blank @r{character class}
@@ -1200,7 +1234,7 @@ space and tab.
 @opindex cntrl @r{character class}
 @cindex control characters
 Control characters.
-In @sc{ascii}, these characters have octal codes 000
+In ASCII, these characters have octal codes 000
 through 037, and 177 (@code{DEL}).
 In other character sets, these are
 the equivalent characters, if any.
@@ -1220,7 +1254,7 @@ Graphical characters:
 @item [:lower:]
 @opindex lower @r{character class}
 @cindex lower-case letters
-Lower-case letters; in the @samp{C} locale and @sc{ascii} character
+Lower-case letters; in the @samp{C} locale and ASCII character
 encoding, this is
 @code{a b c d e f g h i j k l m n o p q r s t u v w x y z}.
 
@@ -1233,7 +1267,7 @@ Printable characters:
 @item [:punct:]
 @opindex punct @r{character class}
 @cindex punctuation characters
-Punctuation characters; in the @samp{C} locale and @sc{ascii} character
+Punctuation characters; in the @samp{C} locale and ASCII character
 encoding, this is
 @code{!@: " # $ % & ' ( ) * + , - .@: / : ; < = > ?@: @@ [ \ ] ^ _ ` @{ | @} ~}.
 
@@ -1248,7 +1282,7 @@ tab, newline, vertical tab, form feed, carriage return, and space.
 @item [:upper:]
 @opindex upper @r{character class}
 @cindex upper-case letters
-Upper-case letters: in the @samp{C} locale and @sc{ascii} character
+Upper-case letters: in the @samp{C} locale and ASCII character
 encoding, this is
 @code{A B C D E F G H I J K L M N O P Q R S T U V W X Y Z}.
 
@@ -1318,28 +1352,28 @@ takes a special meaning:
 
 @table @samp
 
-@item @samp{\b}
+@item \b
 Match the empty string at the edge of a word.
 
-@item @samp{\B}
+@item \B
 Match the empty string provided it's not at the edge of a word.
 
-@item @samp{\<}
+@item \<
 Match the empty string at the beginning of word.
 
-@item @samp{\>}
+@item \>
 Match the empty string at the end of word.
 
-@item @samp{\w}
-Match word constituent, it is a synonym for @samp{[[:alnum:]]}.
+@item \w
+Match word constituent, it is a synonym for @samp{[[:alnum:]_]}.
 
-@item @samp{\W}
-Match non-word constituent, it is a synonym for @samp{[^[:alnum:]]}.
+@item \W
+Match non-word constituent, it is a synonym for @samp{[^[:alnum:]_]}.
 
-@item @samp{\s}
+@item \s
 Match whitespace, it is a synonym for @samp{[[:space:]]}.
 
-@item @samp{\S}
+@item \S
 Match non-whitespace, it is a synonym for @samp{[^[:space:]]}.
 
 @end table
@@ -1353,6 +1387,8 @@ For example, @samp{\brat\b} matches the separate word @samp{rat},
 
 The caret @samp{^} and the dollar sign @samp{$} are meta-characters that
 respectively match the empty string at the beginning and end of a line.
+They are termed @dfn{anchors}, since they force the match to be ``anchored''
+to beginning or end of a line, respectively.
 
 @node Back-references and Subexpressions
 @section Back-references and Subexpressions
@@ -1368,7 +1404,7 @@ the back-reference makes the whole match fail.
 For example, @samp{a(.)|b\1}
 will not match @samp{ba}.
 When multiple regular expressions are given with
-@samp{-e} or from a file (@samp{-f file}),
+@option{-e} or from a file (@samp{-f @var{file}}),
 back-references are local to each expression.
 
 @node Basic vs Extended
@@ -1386,13 +1422,13 @@ and some @command{egrep} implementations support @samp{\@{} instead, so
 portable scripts should avoid @samp{@{} in @samp{grep@ -E} patterns and
 should use @samp{[@{]} to match a literal @samp{@{}.
 
-@sc{gnu} @command{grep@ -E} attempts to support traditional usage by
+GNU @command{grep@ -E} attempts to support traditional usage by
 assuming that @samp{@{} is not special if it would be the start of an
 invalid interval specification.
 For example, the command
 @samp{grep@ -E@ '@{1'} searches for the two-character string @samp{@{1}
 instead of reporting a syntax error in the regular expression.
-@sc{posix.2} allows this behavior as an extension, but portable scripts
+POSIX allows this behavior as an extension, but portable scripts
 should avoid it.
 
 
@@ -1400,7 +1436,7 @@ should avoid it.
 @chapter Usage
 
 @cindex usage, examples
-Here is an example command that invokes @sc{gnu} @command{grep}:
+Here is an example command that invokes GNU @command{grep}:
 
 @example
 grep -i 'hello.*world' menu.h main.c
@@ -1411,7 +1447,7 @@ This lists all lines in the files @file{menu.h} and @file{main.c} that
 contain the string @samp{hello} followed by the string @samp{world};
 this is because @samp{.*} matches zero or more characters within a line.
 @xref{Regular Expressions}.
-The @samp{-i} option causes @command{grep}
+The @option{-i} option causes @command{grep}
 to ignore case, causing it to match the line @samp{Hello, world!}, which
 it would not otherwise match.
 @xref{Invoking}, for more details about
@@ -1478,7 +1514,7 @@ grep -e '--cut here--' *
 
 @noindent
 searches for all lines matching @samp{--cut here--}.
-Without @samp{-e},
+Without @option{-e},
 @command{grep} would attempt to parse @samp{--cut here--} as a list of
 options.
 
@@ -1529,7 +1565,7 @@ gets you:
 /etc/passwd:eli:x:2098:1000:Eli Smith:/home/eli:/bin/bash
 @end example
 
-Alternatively, use @samp{-H}, which is a @sc{gnu} extension:
+Alternatively, use @option{-H}, which is a GNU extension:
 
 @example
 grep -H 'eli' /etc/passwd
@@ -1556,13 +1592,13 @@ Why does @command{grep} report ``Binary file matches''?
 If @command{grep} listed all matching ``lines'' from a binary file, it
 would probably generate output that is not useful, and it might even
 muck up your display.
-So @sc{gnu} @command{grep} suppresses output from
+So GNU @command{grep} suppresses output from
 files that appear to be binary files.
-To force @sc{gnu} @command{grep}
+To force GNU @command{grep}
 to output lines even from files that appear to be binary, use the
-@samp{-a} or @samp{--binary-files=text} option.
+@option{-a} or @samp{--binary-files=text} option.
 To eliminate the
-``Binary file matches'' messages, use the @samp{-I} or
+``Binary file matches'' messages, use the @option{-I} or
 @samp{--binary-files=without-match} option.
 
 @item
@@ -1571,11 +1607,11 @@ Why doesn't @samp{grep -lv} print non-matching file names?
 @samp{grep -lv} lists the names of all files containing one or more
 lines that do not match.
 To list the names of all files that contain no
-matching lines, use the @samp{-L} or @samp{--files-without-match}
+matching lines, use the @option{-L} or @option{--files-without-match}
 option.
 
 @item
-I can do @sc{or} with @samp{|}, but what about @sc{and}?
+I can do ``OR'' with @samp{|}, but what about ``AND''?
 
 @example
 grep 'paul' /etc/motd | grep 'franc,ois'
@@ -1605,7 +1641,7 @@ a palindrome of 4 characters can be written with a BRE:
 grep -w -e '\(.\)\(.\).\2\1' file
 @end example
 
-It matches the word "radar" or "civic".
+It matches the word ``radar'' or ``civic.''
 
 Guglielmo Bondioni proposed a single RE
 that finds all palindromes up to 19 characters long
@@ -1615,7 +1651,7 @@ using @w{9 subexpressions} and @w{9 back-references}:
 grep -E -e '^(.?)(.?)(.?)(.?)(.?)(.?)(.?)(.?)(.?).?\9\8\7\6\5\4\3\2\1$' file
 @end smallexample
 
-Note this is done by using @sc{gnu} ERE extensions;
+Note this is done by using GNU ERE extensions;
 it might not be portable to other implementations of @command{grep}.
 
 @item
@@ -1704,13 +1740,13 @@ Back-references are very slow, and may require exponential time.
 @chapter Copying
 @cindex copying
 
-GNU grep is licensed under the GNU GPL, which makes it @dfn{free
+GNU @command{grep} is licensed under the GNU GPL, which makes it @dfn{free
 software}.
 
 The ``free'' in ``free software'' refers to liberty, not price. As
 some GNU project advocates like to point out, think of ``free speech''
 rather than ``free beer''.  In short, you have the right (freedom) to
-run and change grep and distribute it to other people, and---if you
+run and change @command{grep} and distribute it to other people, and---if you
 want---charge money for doing either.  The important restriction is
 that you have to grant your recipients the same rights and impose the
 same restrictions.

-----------------------------------------------------------------------

Summary of changes:
 doc/grep.texi |  344 +++++++++++++++++++++++++++++++-------------------------
 1 files changed, 190 insertions(+), 154 deletions(-)


hooks/post-receive
-- 
grep


From MAILER-DAEMON Sat Dec 24 09:27:53 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1ReSZl-0007fO-V6
	for mharc-grep-commit@gnu.org; Sat, 24 Dec 2011 09:27:53 -0500
Received: from eggs.gnu.org ([140.186.70.92]:60396)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1ReSZi-0007eu-Tt
	for grep-commit@gnu.org; Sat, 24 Dec 2011 09:27:52 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1ReSZh-0004oX-3d
	for grep-commit@gnu.org; Sat, 24 Dec 2011 09:27:50 -0500
Received: from vcs.savannah.gnu.org ([140.186.70.72]:33476)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1ReSZh-0004oT-0U
	for grep-commit@gnu.org; Sat, 24 Dec 2011 09:27:49 -0500
Received: from meyering by vcs.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <jim@meyering.net>) id 1ReSZg-0005B6-Ci
	for grep-commit@gnu.org; Sat, 24 Dec 2011 14:27:48 +0000
Date: Sat, 24 Dec 2011 14:27:48 +0000
Message-Id: <E1ReSZg-0005B6-Ci@vcs.savannah.gnu.org>
To: grep-commit@gnu.org
Subject: grep branch, master, updated. v2.10-20-gd0be2a6
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 1ca631f8e3cffa22554865ac11903b5afa647c00
X-Git-Newrev: d0be2a62a38726211cd94a06fd7e9aa23a88d07d
From: Jim Meyering <jim@meyering.net>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 140.186.70.72
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: bug-grep@gnu.org
List-Id: CVS commit notices for GNU grep <grep-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/grep-commit>,
	<mailto:grep-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/grep-commit>
List-Post: <mailto:grep-commit@gnu.org>
List-Help: <mailto:grep-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/grep-commit>,
	<mailto:grep-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 24 Dec 2011 14:27:52 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grep".

The branch, master has been updated
       via  d0be2a62a38726211cd94a06fd7e9aa23a88d07d (commit)
       via  adfe8bb24cbdb0c0feaf69e573ba6c023921cd33 (commit)
       via  5c24afd142b57d9378a1e0a735f8056d7592a800 (commit)
      from  1ca631f8e3cffa22554865ac11903b5afa647c00 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=d0be2a62a38726211cd94a06fd7e9aa23a88d07d


commit d0be2a62a38726211cd94a06fd7e9aa23a88d07d
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Sat Dec 24 02:17:47 2011 -0800

    don't ignore errors when reading a directory
    
    grep no longer silently suppresses errors when reading a directory
    as if it were a text file.  For example, "grep x ." now reports a
    read error on most systems; formerly, it ignored the error.
    Problem reported as an aside by Bob Proulx (Bug#10355).
    * NEWS: Document this.
    * src/main.c (grep, grepfile): Implement this.  Simplify the code
    considerably.
    * src/system.h (is_EISDIR): Remove; no longer needed.

diff --git a/NEWS b/NEWS
index 32cb32e..3824159 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,11 @@ GNU grep NEWS                                    -*- outline -*-
 
 ** Bug fixes
 
+  grep no longer silently suppresses errors when reading a directory
+  as if it were a text file.  For example, "grep x ." now reports a
+  read error on most systems; formerly, it ignored the error.
+  [bug introduced in grep-2.5]
+
   The --include, --exclude, and --exclude-dir options now handle
   command-line arguments more consistently.  --include and --exclude
   apply only to non-directories and --exclude-dir applies only to
diff --git a/src/main.c b/src/main.c
index 70197f4..1e1667a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1098,8 +1098,7 @@ grep (int fd, char const *file, struct stats *stats)
 
   if (! fillbuf (save, stats))
     {
-      if (! is_EISDIR (errno, file))
-        suppressible_error (filename, errno);
+      suppressible_error (filename, errno);
       return 0;
     }
 
@@ -1170,8 +1169,7 @@ grep (int fd, char const *file, struct stats *stats)
         nlscan (beg);
       if (! fillbuf (save, stats))
         {
-          if (! is_EISDIR (errno, file))
-            suppressible_error (filename, errno);
+          suppressible_error (filename, errno);
           goto finish_grep;
         }
     }
@@ -1252,37 +1250,10 @@ grepfile (char const *file, struct stats *stats)
       if (desc < 0)
         {
           int e = errno;
-
-          if (is_EISDIR (e, file) && directories == RECURSE_DIRECTORIES)
-            {
-              if (stat (file, &stats->stat) != 0)
-                {
-                  error (0, errno, "%s", file);
-                  return 1;
-                }
-
-              return grepdir (file, stats);
-            }
-
-          if (!suppress_errors)
-            {
-              if (directories == SKIP_DIRECTORIES)
-                switch (e)
-                  {
-#if defined EISDIR
-                  case EISDIR:
-                    return 1;
-#endif
-                  case EACCES:
-                    /* When skipping directories, don't worry about
-                       directories that can't be opened.  */
-                    if (isdir (file))
-                      return 1;
-                    break;
-                  }
-            }
-
-          suppressible_error (file, e);
+          /* When skipping directories, don't worry about directories
+             that can't be opened.  */
+          if (! (directories == SKIP_DIRECTORIES && isdir (file)))
+            suppressible_error (file, e);
           return 1;
         }
 
diff --git a/src/system.h b/src/system.h
index e7afc46..db2fea3 100644
--- a/src/system.h
+++ b/src/system.h
@@ -33,12 +33,6 @@
 # define HAVE_DOS_FILE_CONTENTS 1
 #endif
 
-#ifdef EISDIR
-# define is_EISDIR(e, f) ((e) == EISDIR)
-#else
-# define is_EISDIR(e, f) 0
-#endif
-
 #include <stdlib.h>
 #include <stddef.h>
 #include <limits.h>

http://git.savannah.gnu.org/cgit/grep.git/commit/?id=adfe8bb24cbdb0c0feaf69e573ba6c023921cd33


commit d0be2a62a38726211cd94a06fd7e9aa23a88d07d
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Sat Dec 24 02:17:47 2011 -0800

    don't ignore errors when reading a directory
    
    grep no longer silently suppresses errors when reading a directory
    as if it were a text file.  For example, "grep x ." now reports a
    read error on most systems; formerly, it ignored the error.
    Problem reported as an aside by Bob Proulx (Bug#10355).
    * NEWS: Document this.
    * src/main.c (grep, grepfile): Implement this.  Simplify the code
    considerably.
    * src/system.h (is_EISDIR): Remove; no longer needed.

diff --git a/NEWS b/NEWS
index 32cb32e..3824159 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,11 @@ GNU grep NEWS                                    -*- outline -*-
 
 ** Bug fixes
 
+  grep no longer silently suppresses errors when reading a directory
+  as if it were a text file.  For example, "grep x ." now reports a
+  read error on most systems; formerly, it ignored the error.
+  [bug introduced in grep-2.5]
+
   The --include, --exclude, and --exclude-dir options now handle
   command-line arguments more consistently.  --include and --exclude
   apply only to non-directories and --exclude-dir applies only to
diff --git a/src/main.c b/src/main.c
index 70197f4..1e1667a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1098,8 +1098,7 @@ grep (int fd, char const *file, struct stats *stats)
 
   if (! fillbuf (save, stats))
     {
-      if (! is_EISDIR (errno, file))
-        suppressible_error (filename, errno);
+      suppressible_error (filename, errno);
       return 0;
     }
 
@@ -1170,8 +1169,7 @@ grep (int fd, char const *file, struct stats *stats)
         nlscan (beg);
       if (! fillbuf (save, stats))
         {
-          if (! is_EISDIR (errno, file))
-            suppressible_error (filename, errno);
+          suppressible_error (filename, errno);
           goto finish_grep;
         }
     }
@@ -1252,37 +1250,10 @@ grepfile (char const *file, struct stats *stats)
       if (desc < 0)
         {
           int e = errno;
-
-          if (is_EISDIR (e, file) && directories == RECURSE_DIRECTORIES)
-            {
-              if (stat (file, &stats->stat) != 0)
-                {
-                  error (0, errno, "%s", file);
-                  return 1;
-                }
-
-              return grepdir (file, stats);
-            }
-
-          if (!suppress_errors)
-            {
-              if (directories == SKIP_DIRECTORIES)
-                switch (e)
-                  {
-#if defined EISDIR
-                  case EISDIR:
-                    return 1;
-#endif
-                  case EACCES:
-                    /* When skipping directories, don't worry about
-                       directories that can't be opened.  */
-                    if (isdir (file))
-                      return 1;
-                    break;
-                  }
-            }
-
-          suppressible_error (file, e);
+          /* When skipping directories, don't worry about directories
+             that can't be opened.  */
+          if (! (directories == SKIP_DIRECTORIES && isdir (file)))
+            suppressible_error (file, e);
           return 1;
         }
 
diff --git a/src/system.h b/src/system.h
index e7afc46..db2fea3 100644
--- a/src/system.h
+++ b/src/system.h
@@ -33,12 +33,6 @@
 # define HAVE_DOS_FILE_CONTENTS 1
 #endif
 
-#ifdef EISDIR
-# define is_EISDIR(e, f) ((e) == EISDIR)
-#else
-# define is_EISDIR(e, f) 0
-#endif
-
 #include <stdlib.h>
 #include <stddef.h>
 #include <limits.h>

http://git.savannah.gnu.org/cgit/grep.git/commit/?id=5c24afd142b57d9378a1e0a735f8056d7592a800


commit d0be2a62a38726211cd94a06fd7e9aa23a88d07d
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Sat Dec 24 02:17:47 2011 -0800

    don't ignore errors when reading a directory
    
    grep no longer silently suppresses errors when reading a directory
    as if it were a text file.  For example, "grep x ." now reports a
    read error on most systems; formerly, it ignored the error.
    Problem reported as an aside by Bob Proulx (Bug#10355).
    * NEWS: Document this.
    * src/main.c (grep, grepfile): Implement this.  Simplify the code
    considerably.
    * src/system.h (is_EISDIR): Remove; no longer needed.

diff --git a/NEWS b/NEWS
index 32cb32e..3824159 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,11 @@ GNU grep NEWS                                    -*- outline -*-
 
 ** Bug fixes
 
+  grep no longer silently suppresses errors when reading a directory
+  as if it were a text file.  For example, "grep x ." now reports a
+  read error on most systems; formerly, it ignored the error.
+  [bug introduced in grep-2.5]
+
   The --include, --exclude, and --exclude-dir options now handle
   command-line arguments more consistently.  --include and --exclude
   apply only to non-directories and --exclude-dir applies only to
diff --git a/src/main.c b/src/main.c
index 70197f4..1e1667a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1098,8 +1098,7 @@ grep (int fd, char const *file, struct stats *stats)
 
   if (! fillbuf (save, stats))
     {
-      if (! is_EISDIR (errno, file))
-        suppressible_error (filename, errno);
+      suppressible_error (filename, errno);
       return 0;
     }
 
@@ -1170,8 +1169,7 @@ grep (int fd, char const *file, struct stats *stats)
         nlscan (beg);
       if (! fillbuf (save, stats))
         {
-          if (! is_EISDIR (errno, file))
-            suppressible_error (filename, errno);
+          suppressible_error (filename, errno);
           goto finish_grep;
         }
     }
@@ -1252,37 +1250,10 @@ grepfile (char const *file, struct stats *stats)
       if (desc < 0)
         {
           int e = errno;
-
-          if (is_EISDIR (e, file) && directories == RECURSE_DIRECTORIES)
-            {
-              if (stat (file, &stats->stat) != 0)
-                {
-                  error (0, errno, "%s", file);
-                  return 1;
-                }
-
-              return grepdir (file, stats);
-            }
-
-          if (!suppress_errors)
-            {
-              if (directories == SKIP_DIRECTORIES)
-                switch (e)
-                  {
-#if defined EISDIR
-                  case EISDIR:
-                    return 1;
-#endif
-                  case EACCES:
-                    /* When skipping directories, don't worry about
-                       directories that can't be opened.  */
-                    if (isdir (file))
-                      return 1;
-                    break;
-                  }
-            }
-
-          suppressible_error (file, e);
+          /* When skipping directories, don't worry about directories
+             that can't be opened.  */
+          if (! (directories == SKIP_DIRECTORIES && isdir (file)))
+            suppressible_error (file, e);
           return 1;
         }
 
diff --git a/src/system.h b/src/system.h
index e7afc46..db2fea3 100644
--- a/src/system.h
+++ b/src/system.h
@@ -33,12 +33,6 @@
 # define HAVE_DOS_FILE_CONTENTS 1
 #endif
 
-#ifdef EISDIR
-# define is_EISDIR(e, f) ((e) == EISDIR)
-#else
-# define is_EISDIR(e, f) 0
-#endif
-
 #include <stdlib.h>
 #include <stddef.h>
 #include <limits.h>

-----------------------------------------------------------------------

Summary of changes:
 NEWS                  |   12 ++++++++
 gnulib                |    2 +-
 src/main.c            |   68 ++++++++++++++++++-------------------------------
 src/system.h          |    6 ----
 tests/include-exclude |    6 +++-
 5 files changed, 43 insertions(+), 51 deletions(-)


hooks/post-receive
-- 
grep


From MAILER-DAEMON Wed Dec 28 08:58:44 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Rfu1k-0004SL-E4
	for mharc-grep-commit@gnu.org; Wed, 28 Dec 2011 08:58:44 -0500
Received: from eggs.gnu.org ([140.186.70.92]:58053)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bonzini@gnu.org>) id 1Rfu1h-0004Rp-MG
	for grep-commit@gnu.org; Wed, 28 Dec 2011 08:58:43 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <bonzini@gnu.org>) id 1Rfu1e-0004mk-NH
	for grep-commit@gnu.org; Wed, 28 Dec 2011 08:58:41 -0500
Received: from vcs.savannah.gnu.org ([140.186.70.72]:46167)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bonzini@gnu.org>) id 1Rfu1e-0004ma-LX
	for grep-commit@gnu.org; Wed, 28 Dec 2011 08:58:38 -0500
Received: from bonzini by vcs.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <bonzini@gnu.org>) id 1Rfu1e-0000ru-5s
	for grep-commit@gnu.org; Wed, 28 Dec 2011 13:58:38 +0000
Date: Wed, 28 Dec 2011 13:58:38 +0000
Message-Id: <E1Rfu1e-0000ru-5s@vcs.savannah.gnu.org>
To: grep-commit@gnu.org
Subject: grep branch, master, updated. v2.10-24-g18c0337
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: d0be2a62a38726211cd94a06fd7e9aa23a88d07d
X-Git-Newrev: 18c0337917db10703c6c5f5265b142971af43e10
From: Paolo Bonzini <bonzini@gnu.org>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 140.186.70.72
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: bug-grep@gnu.org
List-Id: CVS commit notices for GNU grep <grep-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/grep-commit>,
	<mailto:grep-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/grep-commit>
List-Post: <mailto:grep-commit@gnu.org>
List-Help: <mailto:grep-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/grep-commit>,
	<mailto:grep-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Dec 2011 13:58:43 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grep".

The branch, master has been updated
       via  18c0337917db10703c6c5f5265b142971af43e10 (commit)
       via  f7413d04da7f9f567127c81aef44700935961d0f (commit)
       via  af5a08dd528dd8ed8d237ba2fe3ae1dab6ede5da (commit)
       via  1804fdcd0c0a8d6c4a25d13e5ec4b557eaf2ebb8 (commit)
      from  d0be2a62a38726211cd94a06fd7e9aa23a88d07d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=18c0337917db10703c6c5f5265b142971af43e10


commit 18c0337917db10703c6c5f5265b142971af43e10
Author: Eli Zaretskii <eliz@gnu.org>
Date:   Wed Dec 28 14:58:00 2011 +0100

    Fix whitespace, indentation and documentation
    
    * src/main.c (parse_grep_colors): Fix indentation.
    (usage): Mention MS-Windows in help text for -U and -u options.

diff --git a/src/main.c b/src/main.c
index 0f95ee9..46d2873 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1657,8 +1657,9 @@ Context control:\n\
       --color[=WHEN],\n\
       --colour[=WHEN]       use markers to highlight the matching strings;\n\
                             WHEN is `always', `never', or `auto'\n\
-  -U, --binary              do not strip CR characters at EOL (MSDOS)\n\
-  -u, --unix-byte-offsets   report offsets as if CRs were not there (MSDOS)\n\
+  -U, --binary              do not strip CR characters at EOL (MSDOS/Windows)\n\
+  -u, --unix-byte-offsets   report offsets as if CRs were not there\n\
+                            (MSDOS/Windows)\n\
 \n"));
       printf ("%s", _(after_options));
       printf (_("\
@@ -1899,16 +1900,16 @@ parse_grep_colors (void)
             if (cap->var)
               {
                 if (val)
-              *(cap->var) = val;
+		  *(cap->var) = val;
                 else
-              error(0, 0, _("in GREP_COLORS=\"%s\", the \"%s\" capacity "
+		  error(0, 0, _("in GREP_COLORS=\"%s\", the \"%s\" capacity "
                                 "needs a value (\"=...\"); skipped"), p, name);
-          }
-        else if (val)
-          error(0, 0, _("in GREP_COLORS=\"%s\", the \"%s\" capacity "
-                "is boolean and cannot take a value (\"=%s\"); skipped"),
-                p, name, val);
-      }
+	      }
+	    else if (val)
+	      error(0, 0, _("in GREP_COLORS=\"%s\", the \"%s\" capacity "
+			    "is boolean and cannot take a value (\"=%s\"); skipped"),
+		    p, name, val);
+	  }
         if (cap->fct)
           {
             const char *err_str = cap->fct();

http://git.savannah.gnu.org/cgit/grep.git/commit/?id=f7413d04da7f9f567127c81aef44700935961d0f


commit 18c0337917db10703c6c5f5265b142971af43e10
Author: Eli Zaretskii <eliz@gnu.org>
Date:   Wed Dec 28 14:58:00 2011 +0100

    Fix whitespace, indentation and documentation
    
    * src/main.c (parse_grep_colors): Fix indentation.
    (usage): Mention MS-Windows in help text for -U and -u options.

diff --git a/src/main.c b/src/main.c
index 0f95ee9..46d2873 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1657,8 +1657,9 @@ Context control:\n\
       --color[=WHEN],\n\
       --colour[=WHEN]       use markers to highlight the matching strings;\n\
                             WHEN is `always', `never', or `auto'\n\
-  -U, --binary              do not strip CR characters at EOL (MSDOS)\n\
-  -u, --unix-byte-offsets   report offsets as if CRs were not there (MSDOS)\n\
+  -U, --binary              do not strip CR characters at EOL (MSDOS/Windows)\n\
+  -u, --unix-byte-offsets   report offsets as if CRs were not there\n\
+                            (MSDOS/Windows)\n\
 \n"));
       printf ("%s", _(after_options));
       printf (_("\
@@ -1899,16 +1900,16 @@ parse_grep_colors (void)
             if (cap->var)
               {
                 if (val)
-              *(cap->var) = val;
+		  *(cap->var) = val;
                 else
-              error(0, 0, _("in GREP_COLORS=\"%s\", the \"%s\" capacity "
+		  error(0, 0, _("in GREP_COLORS=\"%s\", the \"%s\" capacity "
                                 "needs a value (\"=...\"); skipped"), p, name);
-          }
-        else if (val)
-          error(0, 0, _("in GREP_COLORS=\"%s\", the \"%s\" capacity "
-                "is boolean and cannot take a value (\"=%s\"); skipped"),
-                p, name, val);
-      }
+	      }
+	    else if (val)
+	      error(0, 0, _("in GREP_COLORS=\"%s\", the \"%s\" capacity "
+			    "is boolean and cannot take a value (\"=%s\"); skipped"),
+		    p, name, val);
+	  }
         if (cap->fct)
           {
             const char *err_str = cap->fct();

http://git.savannah.gnu.org/cgit/grep.git/commit/?id=af5a08dd528dd8ed8d237ba2fe3ae1dab6ede5da


commit 18c0337917db10703c6c5f5265b142971af43e10
Author: Eli Zaretskii <eliz@gnu.org>
Date:   Wed Dec 28 14:58:00 2011 +0100

    Fix whitespace, indentation and documentation
    
    * src/main.c (parse_grep_colors): Fix indentation.
    (usage): Mention MS-Windows in help text for -U and -u options.

diff --git a/src/main.c b/src/main.c
index 0f95ee9..46d2873 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1657,8 +1657,9 @@ Context control:\n\
       --color[=WHEN],\n\
       --colour[=WHEN]       use markers to highlight the matching strings;\n\
                             WHEN is `always', `never', or `auto'\n\
-  -U, --binary              do not strip CR characters at EOL (MSDOS)\n\
-  -u, --unix-byte-offsets   report offsets as if CRs were not there (MSDOS)\n\
+  -U, --binary              do not strip CR characters at EOL (MSDOS/Windows)\n\
+  -u, --unix-byte-offsets   report offsets as if CRs were not there\n\
+                            (MSDOS/Windows)\n\
 \n"));
       printf ("%s", _(after_options));
       printf (_("\
@@ -1899,16 +1900,16 @@ parse_grep_colors (void)
             if (cap->var)
               {
                 if (val)
-              *(cap->var) = val;
+		  *(cap->var) = val;
                 else
-              error(0, 0, _("in GREP_COLORS=\"%s\", the \"%s\" capacity "
+		  error(0, 0, _("in GREP_COLORS=\"%s\", the \"%s\" capacity "
                                 "needs a value (\"=...\"); skipped"), p, name);
-          }
-        else if (val)
-          error(0, 0, _("in GREP_COLORS=\"%s\", the \"%s\" capacity "
-                "is boolean and cannot take a value (\"=%s\"); skipped"),
-                p, name, val);
-      }
+	      }
+	    else if (val)
+	      error(0, 0, _("in GREP_COLORS=\"%s\", the \"%s\" capacity "
+			    "is boolean and cannot take a value (\"=%s\"); skipped"),
+		    p, name, val);
+	  }
         if (cap->fct)
           {
             const char *err_str = cap->fct();

http://git.savannah.gnu.org/cgit/grep.git/commit/?id=1804fdcd0c0a8d6c4a25d13e5ec4b557eaf2ebb8


commit 18c0337917db10703c6c5f5265b142971af43e10
Author: Eli Zaretskii <eliz@gnu.org>
Date:   Wed Dec 28 14:58:00 2011 +0100

    Fix whitespace, indentation and documentation
    
    * src/main.c (parse_grep_colors): Fix indentation.
    (usage): Mention MS-Windows in help text for -U and -u options.

diff --git a/src/main.c b/src/main.c
index 0f95ee9..46d2873 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1657,8 +1657,9 @@ Context control:\n\
       --color[=WHEN],\n\
       --colour[=WHEN]       use markers to highlight the matching strings;\n\
                             WHEN is `always', `never', or `auto'\n\
-  -U, --binary              do not strip CR characters at EOL (MSDOS)\n\
-  -u, --unix-byte-offsets   report offsets as if CRs were not there (MSDOS)\n\
+  -U, --binary              do not strip CR characters at EOL (MSDOS/Windows)\n\
+  -u, --unix-byte-offsets   report offsets as if CRs were not there\n\
+                            (MSDOS/Windows)\n\
 \n"));
       printf ("%s", _(after_options));
       printf (_("\
@@ -1899,16 +1900,16 @@ parse_grep_colors (void)
             if (cap->var)
               {
                 if (val)
-              *(cap->var) = val;
+		  *(cap->var) = val;
                 else
-              error(0, 0, _("in GREP_COLORS=\"%s\", the \"%s\" capacity "
+		  error(0, 0, _("in GREP_COLORS=\"%s\", the \"%s\" capacity "
                                 "needs a value (\"=...\"); skipped"), p, name);
-          }
-        else if (val)
-          error(0, 0, _("in GREP_COLORS=\"%s\", the \"%s\" capacity "
-                "is boolean and cannot take a value (\"=%s\"); skipped"),
-                p, name, val);
-      }
+	      }
+	    else if (val)
+	      error(0, 0, _("in GREP_COLORS=\"%s\", the \"%s\" capacity "
+			    "is boolean and cannot take a value (\"=%s\"); skipped"),
+		    p, name, val);
+	  }
         if (cap->fct)
           {
             const char *err_str = cap->fct();

-----------------------------------------------------------------------

Summary of changes:
 NEWS                           |    8 +-
 src/main.c                     |  267 +++++++++++++++++++++++++++++++++++----
 tests/include-exclude          |    2 +-
 tests/reversed-range-endpoints |    2 +-
 tests/warn-char-classes        |    1 +
 5 files changed, 249 insertions(+), 31 deletions(-)


hooks/post-receive
-- 
grep


From MAILER-DAEMON Wed Dec 28 10:55:24 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Rfvqe-0000Ux-Iy
	for mharc-grep-commit@gnu.org; Wed, 28 Dec 2011 10:55:24 -0500
Received: from eggs.gnu.org ([140.186.70.92]:37301)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Rfvqb-0000UW-L9
	for grep-commit@gnu.org; Wed, 28 Dec 2011 10:55:23 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Rfvqa-0003ng-7P
	for grep-commit@gnu.org; Wed, 28 Dec 2011 10:55:21 -0500
Received: from vcs.savannah.gnu.org ([140.186.70.72]:52815)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Rfvqa-0003na-5H
	for grep-commit@gnu.org; Wed, 28 Dec 2011 10:55:20 -0500
Received: from meyering by vcs.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <jim@meyering.net>) id 1RfvqZ-0005ip-LH
	for grep-commit@gnu.org; Wed, 28 Dec 2011 15:55:19 +0000
Date: Wed, 28 Dec 2011 15:55:19 +0000
Message-Id: <E1RfvqZ-0005ip-LH@vcs.savannah.gnu.org>
To: grep-commit@gnu.org
Subject: grep branch, master, updated. v2.10-27-g975dd02
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 18c0337917db10703c6c5f5265b142971af43e10
X-Git-Newrev: 975dd02ee88db24748b1460e3959443b221d6648
From: Jim Meyering <jim@meyering.net>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 140.186.70.72
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: bug-grep@gnu.org
List-Id: CVS commit notices for GNU grep <grep-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/grep-commit>,
	<mailto:grep-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/grep-commit>
List-Post: <mailto:grep-commit@gnu.org>
List-Help: <mailto:grep-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/grep-commit>,
	<mailto:grep-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Dec 2011 15:55:23 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grep".

The branch, master has been updated
       via  975dd02ee88db24748b1460e3959443b221d6648 (commit)
       via  e0bd7aab05b7dbbd3fb456f43ef0421e30d96630 (commit)
       via  7d1ea00d64fae62fb6a3b166f35278db6f842bba (commit)
      from  18c0337917db10703c6c5f5265b142971af43e10 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=975dd02ee88db24748b1460e3959443b221d6648


commit 975dd02ee88db24748b1460e3959443b221d6648
Author: Jim Meyering <meyering@redhat.com>
Date:   Wed Dec 28 16:54:43 2011 +0100

    main.c: add some 'const' directives
    
    * src/main.c (color_dict, fg_color, bg_color, cap): Declare const.
    
    No semantic change.

diff --git a/src/main.c b/src/main.c
index 53507cc..ca6f85f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -252,7 +252,7 @@ color_cap_ne_fct (void)
 }
 
 /* For GREP_COLORS.  */
-static struct color_cap color_dict[] =
+static const struct color_cap color_dict[] =
   {
     { "mt", &selected_match_color, color_cap_mt_fct }, /* both ms/mc */
     { "ms", &selected_match_color, NULL }, /* selected matched text */
@@ -303,7 +303,7 @@ w32_sgr2attr (const char *sgr_seq)
   const char *s, *p;
   int code, fg = norm_attr & 15, bg = norm_attr & (15 << 4);
   int bright = 0, inverse = 0;
-  static int fg_color[] = {
+  static const int fg_color[] = {
     0,			/* black */
     FOREGROUND_RED,	/* red */
     FOREGROUND_GREEN,	/* green */
@@ -313,7 +313,7 @@ w32_sgr2attr (const char *sgr_seq)
     FOREGROUND_BLUE | FOREGROUND_GREEN, /* cyan */
     FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE /* gray */
   };
-  static int bg_color[] = {
+  static const int bg_color[] = {
     0,			/* black */
     BACKGROUND_RED,	/* red */
     BACKGROUND_GREEN,	/* green */
@@ -1886,7 +1886,7 @@ parse_grep_colors (void)
     if (*q == ':' || *q == '\0')
       {
         char c = *q;
-        struct color_cap *cap;
+        struct color_cap const *cap;
 
         *q++ = '\0'; /* Terminate name or val.  */
         /* Empty name without val (empty cap)

http://git.savannah.gnu.org/cgit/grep.git/commit/?id=e0bd7aab05b7dbbd3fb456f43ef0421e30d96630


commit 975dd02ee88db24748b1460e3959443b221d6648
Author: Jim Meyering <meyering@redhat.com>
Date:   Wed Dec 28 16:54:43 2011 +0100

    main.c: add some 'const' directives
    
    * src/main.c (color_dict, fg_color, bg_color, cap): Declare const.
    
    No semantic change.

diff --git a/src/main.c b/src/main.c
index 53507cc..ca6f85f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -252,7 +252,7 @@ color_cap_ne_fct (void)
 }
 
 /* For GREP_COLORS.  */
-static struct color_cap color_dict[] =
+static const struct color_cap color_dict[] =
   {
     { "mt", &selected_match_color, color_cap_mt_fct }, /* both ms/mc */
     { "ms", &selected_match_color, NULL }, /* selected matched text */
@@ -303,7 +303,7 @@ w32_sgr2attr (const char *sgr_seq)
   const char *s, *p;
   int code, fg = norm_attr & 15, bg = norm_attr & (15 << 4);
   int bright = 0, inverse = 0;
-  static int fg_color[] = {
+  static const int fg_color[] = {
     0,			/* black */
     FOREGROUND_RED,	/* red */
     FOREGROUND_GREEN,	/* green */
@@ -313,7 +313,7 @@ w32_sgr2attr (const char *sgr_seq)
     FOREGROUND_BLUE | FOREGROUND_GREEN, /* cyan */
     FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE /* gray */
   };
-  static int bg_color[] = {
+  static const int bg_color[] = {
     0,			/* black */
     BACKGROUND_RED,	/* red */
     BACKGROUND_GREEN,	/* green */
@@ -1886,7 +1886,7 @@ parse_grep_colors (void)
     if (*q == ':' || *q == '\0')
       {
         char c = *q;
-        struct color_cap *cap;
+        struct color_cap const *cap;
 
         *q++ = '\0'; /* Terminate name or val.  */
         /* Empty name without val (empty cap)

http://git.savannah.gnu.org/cgit/grep.git/commit/?id=7d1ea00d64fae62fb6a3b166f35278db6f842bba


commit 975dd02ee88db24748b1460e3959443b221d6648
Author: Jim Meyering <meyering@redhat.com>
Date:   Wed Dec 28 16:54:43 2011 +0100

    main.c: add some 'const' directives
    
    * src/main.c (color_dict, fg_color, bg_color, cap): Declare const.
    
    No semantic change.

diff --git a/src/main.c b/src/main.c
index 53507cc..ca6f85f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -252,7 +252,7 @@ color_cap_ne_fct (void)
 }
 
 /* For GREP_COLORS.  */
-static struct color_cap color_dict[] =
+static const struct color_cap color_dict[] =
   {
     { "mt", &selected_match_color, color_cap_mt_fct }, /* both ms/mc */
     { "ms", &selected_match_color, NULL }, /* selected matched text */
@@ -303,7 +303,7 @@ w32_sgr2attr (const char *sgr_seq)
   const char *s, *p;
   int code, fg = norm_attr & 15, bg = norm_attr & (15 << 4);
   int bright = 0, inverse = 0;
-  static int fg_color[] = {
+  static const int fg_color[] = {
     0,			/* black */
     FOREGROUND_RED,	/* red */
     FOREGROUND_GREEN,	/* green */
@@ -313,7 +313,7 @@ w32_sgr2attr (const char *sgr_seq)
     FOREGROUND_BLUE | FOREGROUND_GREEN, /* cyan */
     FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE /* gray */
   };
-  static int bg_color[] = {
+  static const int bg_color[] = {
     0,			/* black */
     BACKGROUND_RED,	/* red */
     BACKGROUND_GREEN,	/* green */
@@ -1886,7 +1886,7 @@ parse_grep_colors (void)
     if (*q == ':' || *q == '\0')
       {
         char c = *q;
-        struct color_cap *cap;
+        struct color_cap const *cap;
 
         *q++ = '\0'; /* Terminate name or val.  */
         /* Empty name without val (empty cap)

-----------------------------------------------------------------------

Summary of changes:
 cfg.mk     |    2 +-
 src/main.c |  368 ++++++++++++++++++++++++++++++------------------------------
 2 files changed, 185 insertions(+), 185 deletions(-)


hooks/post-receive
-- 
grep


From MAILER-DAEMON Wed Dec 28 12:17:53 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Rfx8T-0004aU-CI
	for mharc-grep-commit@gnu.org; Wed, 28 Dec 2011 12:17:53 -0500
Received: from eggs.gnu.org ([140.186.70.92]:57021)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Rfx8N-0004WT-Dq
	for grep-commit@gnu.org; Wed, 28 Dec 2011 12:17:48 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Rfx8L-0003rC-RG
	for grep-commit@gnu.org; Wed, 28 Dec 2011 12:17:47 -0500
Received: from vcs.savannah.gnu.org ([140.186.70.72]:37486)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Rfx8L-0003r7-Pg
	for grep-commit@gnu.org; Wed, 28 Dec 2011 12:17:45 -0500
Received: from meyering by vcs.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <jim@meyering.net>) id 1Rfx8L-0002Bm-ON
	for grep-commit@gnu.org; Wed, 28 Dec 2011 17:17:45 +0000
Date: Wed, 28 Dec 2011 17:17:45 +0000
Message-Id: <E1Rfx8L-0002Bm-ON@vcs.savannah.gnu.org>
To: grep-commit@gnu.org
Subject: grep branch, master, updated. v2.10-28-gdf2a617
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 975dd02ee88db24748b1460e3959443b221d6648
X-Git-Newrev: df2a617690f28e3ddde934546ca66f8946874e44
From: Jim Meyering <jim@meyering.net>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 140.186.70.72
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: bug-grep@gnu.org
List-Id: CVS commit notices for GNU grep <grep-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/grep-commit>,
	<mailto:grep-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/grep-commit>
List-Post: <mailto:grep-commit@gnu.org>
List-Help: <mailto:grep-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/grep-commit>,
	<mailto:grep-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Dec 2011 17:17:48 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grep".

The branch, master has been updated
       via  df2a617690f28e3ddde934546ca66f8946874e44 (commit)
      from  975dd02ee88db24748b1460e3959443b221d6648 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=df2a617690f28e3ddde934546ca66f8946874e44


commit df2a617690f28e3ddde934546ca66f8946874e44
Author: Jim Meyering <meyering@redhat.com>
Date:   Wed Dec 28 18:16:51 2011 +0100

    maint: distribute ChangeLog-2009
    
    * Makefile.am (EXTRA_DIST): Add ChangeLog-2009.
    Spotted by Eli Zaretskii.

diff --git a/Makefile.am b/Makefile.am
index e9005d7..a5029e7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -21,6 +21,7 @@ ACLOCAL_AMFLAGS = -I m4
 SUBDIRS = po lib doc src tests gnulib-tests
 
 EXTRA_DIST =		\
+  ChangeLog-2009	\
   Makefile.boot		\
   README		\
   README-alpha		\

-----------------------------------------------------------------------

Summary of changes:
 Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
grep


From MAILER-DAEMON Fri Dec 30 11:23:43 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1RgfF9-000465-Ut
	for mharc-grep-commit@gnu.org; Fri, 30 Dec 2011 11:23:43 -0500
Received: from eggs.gnu.org ([140.186.70.92]:55348)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1RgfF6-00045p-LI
	for grep-commit@gnu.org; Fri, 30 Dec 2011 11:23:41 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1RgfF4-0006ZE-Uk
	for grep-commit@gnu.org; Fri, 30 Dec 2011 11:23:40 -0500
Received: from vcs.savannah.gnu.org ([140.186.70.72]:32773)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1RgfF4-0006ZA-T7
	for grep-commit@gnu.org; Fri, 30 Dec 2011 11:23:38 -0500
Received: from meyering by vcs.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <jim@meyering.net>) id 1RgfF4-0005EF-6S
	for grep-commit@gnu.org; Fri, 30 Dec 2011 16:23:38 +0000
Date: Fri, 30 Dec 2011 16:23:38 +0000
Message-Id: <E1RgfF4-0005EF-6S@vcs.savannah.gnu.org>
To: grep-commit@gnu.org
Subject: grep branch, master, updated. v2.10-29-g209bae5
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: df2a617690f28e3ddde934546ca66f8946874e44
X-Git-Newrev: 209bae502a2255aece67625641617335a911f211
From: Jim Meyering <jim@meyering.net>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 140.186.70.72
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: bug-grep@gnu.org
List-Id: CVS commit notices for GNU grep <grep-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/grep-commit>,
	<mailto:grep-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/grep-commit>
List-Post: <mailto:grep-commit@gnu.org>
List-Help: <mailto:grep-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/grep-commit>,
	<mailto:grep-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 30 Dec 2011 16:23:42 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grep".

The branch, master has been updated
       via  209bae502a2255aece67625641617335a911f211 (commit)
      from  df2a617690f28e3ddde934546ca66f8946874e44 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=209bae502a2255aece67625641617335a911f211


commit 209bae502a2255aece67625641617335a911f211
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Wed Dec 28 22:23:08 2011 +0100

    maint: remove now-unused/obsolete files
    
    * README.DOS: Remove file.
    * m4/djgpp.m4: Likewise.
    * .gitignore: Remove reference to m4/djgpp.m4.

diff --git a/.gitignore b/.gitignore
index 74cae17..e4c7b47 100644
--- a/.gitignore
+++ b/.gitignore
@@ -63,4 +63,3 @@ TAGS
 !/lib/Makefile.am
 !/lib/savedir.c
 !/lib/savedir.h
-!/m4/djgpp.m4
diff --git a/README.DOS b/README.DOS
deleted file mode 100644
index 5dcf658..0000000
--- a/README.DOS
+++ /dev/null
@@ -1,82 +0,0 @@
-  Copyright (C) 1992, 1997-2002, 2004-2011 Free Software Foundation, Inc.
-  
-  Copying and distribution of this file, with or without modification,
-  are permitted in any medium without royalty provided the copyright
-  notice and this notice are preserved.
-
-GREP DJGPP README
-=================
-
-To compile the GNU grep package with DJGPP tools, you will need the
-following tools (the names of the archives on DJGPP ftp sites where
-these tools are available are in parentheses):
-
-          -  The basic DJGPP development environment, including the
-             GCC compiler and the libraries (v2gnu/gccNNNb.zip,
-             v2gnu/bnuNNNb.zip, v2/djdevNNN.zip).
-
-          -  GNU Make revision 3.75 or later (v2gnu/makNNNb.zip).
-
-          -  GNU Bash (v2gnu/bshNNNb.zip).
-
-          -  GNU Sed (v2gnu/sedNNNb.zip).
-
-          -  GNU M4 (v2gnu/m4-NNNb.zip).
-
-          -  GNU Fileutils (v2gnu/filNNNb.zip), Textutils
-             (v2gnu/txtNNNb.zip) and Diffutils (v2gnu/difNNNb.zip).
-
-          -  A (previous version of) GNU grep (v2gnu/grepNNb.zip).
-
-Running the tests ("make check" in the top-level directory)
-additionally requires Gawk (v2gnu/gwkNNNb.zip).  TAGS and ID targets
-require `etags' (from the Emacs distribution) and `mkid' (from
-ID-utils, v2gnu/iduNNb.zip), respectively.
-
-All of these tools are available from the DJGPP archive sites.
-
-To build grep:
-          sh autogen.sh
-      sh configure
-          make
-
-
-Source distributions on DJGPP sites usually come pre-configured, so
-all you need to do in order to build the programs is to say "make".
-However, source distributions on GNU ftp sites, like ftp.gnu.org,
-need to be configured by running sh configure.  You will also need
-to run it if you need to configure grep differently than for the
-default configuration, for example if you want to install the programs
-in a directory other than the bin subdirectory of your DJGPP
-installation.
-
-To test that the package works, say "make check".  If you don't have a
-file named sh.exe somewhere on your PATH, "make check" will refuse to
-run, as it needs a Unix-like shell.
-
-To install, either copy the executables and man pages to the
-appropriate directories, or say "make install".  To clean up, say
-"make clean" or "make distclean".
-
-Please note the -u and -U options that specifically target MS-DOS and
-MS-Windows environments.  They are described in the grep man page in
-this distribution.
-
-National Language Support doesn't work in this port, so don't expect
-the programs to talk to you in any language but English.
-
-Please post any problems in the DOS version to the comp.os.msdos.djgpp
-news group first, especially if they have something to do with the
-DOS-specific aspects.
-
-To create the files required for the documentation package
-perform the following in the docs directory:
-        make grep.dvi
-        make grep.ps
-        makeinfo --html grep.texi -o grep.html
-
-
-2.5f ported by Andrew Cottrell <anddjgpp@ihug.com.au>
-
-Enjoy,
-                                Eli Zaretskii <eliz@is.elta.co.il>
diff --git a/m4/djgpp.m4 b/m4/djgpp.m4
deleted file mode 100644
index 0379452..0000000
--- a/m4/djgpp.m4
+++ /dev/null
@@ -1,9 +0,0 @@
-dnl Check for DJGPP. we use DJ_GPP as the variable
-dnl EXEEXXT
-AC_DEFUN([AC_DJGPP],
-[AC_CACHE_CHECK(for DJGPP environment, ac_cv_djgpp,
-[AC_TRY_COMPILE(,[ return __DJGPP__;],
-ac_cv_djgpp=yes, ac_cv_djgpp=no)
-rm -f conftest*])
-DJ_GPP=
-test "$ac_cv_djgpp" = yes && DJ_GPP=yes])

-----------------------------------------------------------------------

Summary of changes:
 .gitignore  |    1 -
 README.DOS  |   82 -----------------------------------------------------------
 m4/djgpp.m4 |    9 ------
 3 files changed, 0 insertions(+), 92 deletions(-)
 delete mode 100644 README.DOS
 delete mode 100644 m4/djgpp.m4


hooks/post-receive
-- 
grep


