From MAILER-DAEMON Wed Dec 07 02:37:14 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cEWmw-00060U-Tp
	for mharc-grep-commit@gnu.org; Wed, 07 Dec 2016 02:37:14 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:57309)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEWmu-00060C-I2
	for grep-commit@gnu.org; Wed, 07 Dec 2016 02:37:13 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEWmt-0002lF-Ma
	for grep-commit@gnu.org; Wed, 07 Dec 2016 02:37:12 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:51386)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEWmt-0002l8-It
	for grep-commit@gnu.org; Wed, 07 Dec 2016 02:37:11 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69698)
	id 5D3A1220058; Wed,  7 Dec 2016 07:37:11 +0000 (UTC)
To: grep-commit@gnu.org
Subject: grep annotated tag, v2.27, created. v2.27
X-Git-Refname: refs/tags/v2.27
X-Git-Reftype: annotated tag
X-Git-Oldrev: 0000000000000000000000000000000000000000
X-Git-Newrev: 5071f02f1f6f813d83ea71ec9ecdcf597e94bcd0
Message-Id: <20161207073711.5D3A1220058@vcs.savannah.gnu.org>
Date: Wed,  7 Dec 2016 07:37:11 +0000 (UTC)
From: jim@meyering.net (Jim Meyering)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.72
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 07 Dec 2016 07:37:13 -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 annotated tag, v2.27 has been created
        at  5071f02f1f6f813d83ea71ec9ecdcf597e94bcd0 (tag)
   tagging  da01b72222b50dbf9ef62c943d33e8ff893c178d (commit)
  replaces  v2.26
 tagged by  Jim Meyering
        on  Tue Dec 6 23:16:22 2016 -0800

- Log -----------------------------------------------------------------
grep 2.27
-----BEGIN PGP SIGNATURE-----

iQIcBAABCgAGBQJYR7dGAAoJEH/Z/MsAC+7uoTYP/iCTVp2G/Av9/scZKtyJrxqs
qiTDl18Svg9hA6dVVb8bDW/jtjj+Hj6gxGNaZv3biQRMSAI5V38OHKpbhs0cUIg3
a7ZtGycWrDgTGYy0ChAEBWmaOiAZ2PAdnz2mw6/I139R9UYmnssx+H9iLIRncXPe
AOQ3X+miXGamn9teOycxVx01KB/ShDamgvjI6WNFSYH/+Gll0rCcsnLewCZIgz9l
i1V0UQ9YaXFJLzgi8d2xNZTF+ksPmW4IdwO62k729WmgfbM1qT7UD1lsoj4MU3i0
pFjRs+uS9Ae3pnpENqZ9UApdPwmtxlsxS1O3FXj0f34s8lao/R5n4puDTPKVOEzg
Vzn7CCBSJzWea3T70ERrSal/pv6k1068M/PfulrF7KsloBD2cNHVR8ZVrn9zNPaZ
+ymCltJuOrB35FlBZS6RSPKVVk6dmL4gECuq+Qd/ORhVQauex+EmYyVZaxM1SakK
jZkRTPSIOoqhu39ynW//JIho2BzJQnqAz9iC3+XcgNAqrj2X9cyZwNzZ2hv17VmP
U+n33deMEDVUIcWGSdlL8loGasRLN2c+//x3eh/n2xg/jrFhnWaSBA48M+Bhr4Bz
3vxSLEEYT1CC6v6Kdvr/IR7PjshE9IbK+eZ7g+8bWsEDmxC3UFxy+JG1fRK9vH9+
GdgR7BnNrAM8Bt4PnDcq
=ZVBp
-----END PGP SIGNATURE-----

Jim Meyering (11):
      maint: post-release administrivia
      maint: die.h: add the "#define ..." part of double inclusion guard
      build: distribute new file, die.h, so "make distcheck" passes
      gnulib: update to latest, for getprogname HPUX port
      doc: grep builds on HP-UX once again
      tests: use "returns_" rather than explicit comparison with "$?"
      doc: fix a doubled "the"
      grep: avoid false matches in non-UTF8 multibyte locales
      tests: use "returns_ N env VAR=val ..."
      grep: fix DFA-induced infloop
      version 2.27

Mark Veltzer (2):
      ignore ar-lib in build-aux
      ignore coverage generated files

Paul Eggert (26):
      grep: die more systematically
      grep: don't assume stdbool.h before die call
      build: update gnulib submodule to latest
      grep: -Pz no longer rejects ^, $
      grep: avoid unnecessary isatty calls
      grep: improve diagnostic on lseek failure
      grep: scale back /dev/null speedup
      grep: drain the input pipe faster
      grep: avoid unnecessary gettext call
      grep: avoid O(N**2) buffer reallocation
      grep: treat -f /dev/null like -m0
      grep: tune -f /dev/null
      grep -f /dev/null -L PAT FILE outputs FILE
      tests: use "returns_" rather than "$?"
      grep: fix performance typo with -P
      grep: document -oz better
      grep: -T no longer outputs BS
      grep: -T now adjusts number widths for worst case
      grep: simplify by using PRIuMAX
      grep: fix -zxP bug
      grep: -P no longer uses PCRE_MULTILINE
      grep: further -P performance fix
      build: update gnulib submodule to latest
      tests: check for unibyte French range bug
      build: update gnulib submodule to latest
      tests: revert check for unibyte French range bug

Zev Weiss (1):
      grep: use 'j' intmax_t printf length modifier if supported

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


hooks/post-receive
-- 
grep


From MAILER-DAEMON Wed Dec 07 02:37:16 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cEWmy-00061H-0c
	for mharc-grep-commit@gnu.org; Wed, 07 Dec 2016 02:37:16 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:57311)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEWmu-00060D-Vg
	for grep-commit@gnu.org; Wed, 07 Dec 2016 02:37:14 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEWmt-0002lH-Mf
	for grep-commit@gnu.org; Wed, 07 Dec 2016 02:37:13 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:51384)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEWmt-0002l7-Io
	for grep-commit@gnu.org; Wed, 07 Dec 2016 02:37:11 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69698)
	id 50E592201B4; Wed,  7 Dec 2016 07:37:11 +0000 (UTC)
To: grep-commit@gnu.org
Subject: grep branch, master, updated. v2.27-1-gc5ddfc6
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: ae3f57c99c3c7b89cc15448a3365e71795a1a21b
X-Git-Newrev: c5ddfc699fa1e1da3f490b870292e0b64117aae4
Message-Id: <20161207073711.50E592201B4@vcs.savannah.gnu.org>
Date: Wed,  7 Dec 2016 07:37:11 +0000 (UTC)
From: jim@meyering.net (Jim Meyering)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.72
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 07 Dec 2016 07:37:14 -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  c5ddfc699fa1e1da3f490b870292e0b64117aae4 (commit)
       via  da01b72222b50dbf9ef62c943d33e8ff893c178d (commit)
      from  ae3f57c99c3c7b89cc15448a3365e71795a1a21b (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=c5ddfc699fa1e1da3f490b870292e0b64117aae4


commit c5ddfc699fa1e1da3f490b870292e0b64117aae4
Author: Jim Meyering <meyering@fb.com>
Date:   Tue Dec 6 23:18:27 2016 -0800

    maint: post-release administrivia
    
    * NEWS: Add header line for next release.
    * .prev-version: Record previous version.
    * cfg.mk (old_NEWS_hash): Auto-update.

diff --git a/.prev-version b/.prev-version
index e90e35f..7dba3a2 100644
--- a/.prev-version
+++ b/.prev-version
@@ -1 +1 @@
-2.26
+2.27
diff --git a/NEWS b/NEWS
index 188e9ef..302db5f 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,8 @@
 GNU grep NEWS                                    -*- outline -*-
 
+* Noteworthy changes in release ?.? (????-??-??) [?]
+
+
 * Noteworthy changes in release 2.27 (2016-12-06) [stable]
 
 ** Bug fixes
diff --git a/cfg.mk b/cfg.mk
index a7bdc75..65f7bd1 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -55,7 +55,7 @@ export VERBOSE = yes
 # 1127556 9e
 export XZ_OPT = -6e
 
-old_NEWS_hash = 8fb34ff43c84222d1cd9d571eb0c4a03
+old_NEWS_hash = e575ffe82bcad4081ae13e157c5f9072
 
 # Many m4 macros names once began with 'jm_'.
 # Make sure that none are inadvertently reintroduced.

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


commit c5ddfc699fa1e1da3f490b870292e0b64117aae4
Author: Jim Meyering <meyering@fb.com>
Date:   Tue Dec 6 23:18:27 2016 -0800

    maint: post-release administrivia
    
    * NEWS: Add header line for next release.
    * .prev-version: Record previous version.
    * cfg.mk (old_NEWS_hash): Auto-update.

diff --git a/.prev-version b/.prev-version
index e90e35f..7dba3a2 100644
--- a/.prev-version
+++ b/.prev-version
@@ -1 +1 @@
-2.26
+2.27
diff --git a/NEWS b/NEWS
index 188e9ef..302db5f 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,8 @@
 GNU grep NEWS                                    -*- outline -*-
 
+* Noteworthy changes in release ?.? (????-??-??) [?]
+
+
 * Noteworthy changes in release 2.27 (2016-12-06) [stable]
 
 ** Bug fixes
diff --git a/cfg.mk b/cfg.mk
index a7bdc75..65f7bd1 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -55,7 +55,7 @@ export VERBOSE = yes
 # 1127556 9e
 export XZ_OPT = -6e
 
-old_NEWS_hash = 8fb34ff43c84222d1cd9d571eb0c4a03
+old_NEWS_hash = e575ffe82bcad4081ae13e157c5f9072
 
 # Many m4 macros names once began with 'jm_'.
 # Make sure that none are inadvertently reintroduced.

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

Summary of changes:
 .prev-version |    2 +-
 NEWS          |    3 +++
 cfg.mk        |    2 +-
 3 files changed, 5 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
grep


From MAILER-DAEMON Wed Dec 07 08:11:38 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cEc0Y-0000tE-9N
	for mharc-grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:38 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34425)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0U-0000ql-E9
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:37 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0P-0004dr-RK
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:34 -0500
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50533)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0P-0004dX-E4
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:29 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:54974)
	by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.82) (envelope-from <jim@meyering.net>) id 1cEc0O-0007ZV-T0
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:29 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0M-0004Xb-Ef
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:28 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:54487)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0M-0004Wb-AO
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:26 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69698)
	id 46EB1220149; Wed,  7 Dec 2016 13:11:26 +0000 (UTC)
To: grep-webcvs-diffs@gnu.org
Subject: Changes to grep/manual/grep.txt.gz,v
Message-Id: <20161207131126.46EB1220149@vcs.savannah.gnu.org>
Date: Wed,  7 Dec 2016 13:11:26 +0000 (UTC)
From: jim@meyering.net (Jim Meyering)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 07 Dec 2016 13:11:37 -0000

CVSROOT:	/webcvs/grep
Module name:	grep
Changes by:	Jim Meyering <meyering>	16/12/07 13:11:25

Index: grep.txt.gz
===================================================================
RCS file: /webcvs/grep/grep/manual/grep.txt.gz,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -b -r1.27 -r1.28
Binary files /tmp/cvstKgY47 and /tmp/cvss4Zv9v differ


From MAILER-DAEMON Wed Dec 07 08:11:39 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cEc0Z-0000uW-ES
	for mharc-grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:39 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34429)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0U-0000qo-Fb
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:37 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0Q-0004fL-Fg
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:34 -0500
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50541)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0Q-0004eI-7P
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:30 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:55014)
	by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.82) (envelope-from <jim@meyering.net>) id 1cEc0P-0007Zq-Kr
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:29 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0M-0004YL-MN
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:29 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:54488)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0M-0004Wa-In
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:26 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69698)
	id 829C42201B4; Wed,  7 Dec 2016 13:11:26 +0000 (UTC)
To: grep-webcvs-diffs@gnu.org
Subject: Changes to
	grep/manual/html_node/Character-Classes-and-Bracket-Expressions.html,
	v
Message-Id: <20161207131126.829C42201B4@vcs.savannah.gnu.org>
Date: Wed,  7 Dec 2016 13:11:26 +0000 (UTC)
From: jim@meyering.net (Jim Meyering)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 07 Dec 2016 13:11:37 -0000

CVSROOT:	/webcvs/grep
Module name:	grep
Changes by:	Jim Meyering <meyering>	16/12/07 13:11:25

Index: html_node/Character-Classes-and-Bracket-Expressions.html
===================================================================
RCS file: /webcvs/grep/grep/manual/html_node/Character-Classes-and-Bracket-Expressions.html,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- html_node/Character-Classes-and-Bracket-Expressions.html	3 Oct 2016 02:37:09 -0000	1.25
+++ html_node/Character-Classes-and-Bracket-Expressions.html	7 Dec 2016 13:11:22 -0000	1.26
@@ -13,10 +13,10 @@
 "GNU Free Documentation License". -->
 <!-- Created by GNU Texinfo 6.3, http://www.gnu.org/software/texinfo/ -->
 <head>
-<title>GNU Grep 2.26: Character Classes and Bracket Expressions</title>
+<title>GNU Grep 2.27: Character Classes and Bracket Expressions</title>
 
-<meta name="description" content="GNU Grep 2.26: Character Classes and Bracket Expressions">
-<meta name="keywords" content="GNU Grep 2.26: Character Classes and Bracket Expressions">
+<meta name="description" content="GNU Grep 2.27: Character Classes and Bracket Expressions">
+<meta name="keywords" content="GNU Grep 2.27: Character Classes and Bracket Expressions">
 <meta name="resource-type" content="document">
 <meta name="distribution" content="global">
 <meta name="Generator" content="makeinfo">


From MAILER-DAEMON Wed Dec 07 08:11:39 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cEc0Z-0000ui-Jc
	for mharc-grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:39 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34426)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0U-0000qm-E1
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:38 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0O-0004cZ-F9
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:34 -0500
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50529)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0O-0004cL-8k
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:28 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:54903)
	by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.82) (envelope-from <jim@meyering.net>) id 1cEc0N-0007ZE-TE
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:28 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0M-0004Wq-35
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:27 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:54484)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0L-0004WT-VU
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:26 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69698)
	id DC00F2201B4; Wed,  7 Dec 2016 13:11:25 +0000 (UTC)
To: grep-webcvs-diffs@gnu.org
Subject: Changes to grep/manual/grep.html,v
Message-Id: <20161207131125.DC00F2201B4@vcs.savannah.gnu.org>
Date: Wed,  7 Dec 2016 13:11:25 +0000 (UTC)
From: jim@meyering.net (Jim Meyering)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 07 Dec 2016 13:11:38 -0000

CVSROOT:	/webcvs/grep
Module name:	grep
Changes by:	Jim Meyering <meyering>	16/12/07 13:11:25

Index: grep.html
===================================================================
RCS file: /webcvs/grep/grep/manual/grep.html,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- grep.html	3 Oct 2016 02:37:08 -0000	1.25
+++ grep.html	7 Dec 2016 13:11:21 -0000	1.26
@@ -13,10 +13,10 @@
 "GNU Free Documentation License". -->
 <!-- Created by GNU Texinfo 6.3, http://www.gnu.org/software/texinfo/ -->
 <head>
-<title>GNU Grep 2.26</title>
+<title>GNU Grep 2.27</title>
 
-<meta name="description" content="GNU Grep 2.26">
-<meta name="keywords" content="GNU Grep 2.26">
+<meta name="description" content="GNU Grep 2.27">
+<meta name="keywords" content="GNU Grep 2.27">
 <meta name="resource-type" content="document">
 <meta name="distribution" content="global">
 <meta name="Generator" content="makeinfo">
@@ -58,7 +58,7 @@
 </head>
 
 <body lang="en">
-<h1 class="settitle" align="center">GNU Grep 2.26</h1>
+<h1 class="settitle" align="center">GNU Grep 2.27</h1>
 
 
 
@@ -122,7 +122,7 @@
 
 <p><code>grep</code> prints lines that contain a match for a pattern.
 </p>
-<p>This manual is for version 2.26 of GNU Grep.
+<p>This manual is for version 2.27 of GNU Grep.
 </p>
 <p>This manual is for <code>grep</code>, a pattern matching engine.
 </p>
@@ -498,6 +498,8 @@
 <a name="index-only-matching"></a>
 <p>Print only the matched (non-empty) parts of matching lines,
 with each such part on a separate output line.
+Output lines use the same delimiters as input, and delimiters are null
+bytes if <samp>-z</samp> (<samp>--null-data</samp>) is also used (see <a href="#Other-Options">Other Options</a>).
 </p>
 </dd>
 <dt><samp>-q</samp></dt>
@@ -615,10 +617,8 @@
 so that the alignment of tabs looks normal.
 This is useful with options that prefix their output to the actual content:
 <samp>-H</samp>, <samp>-n</samp>, and <samp>-b</samp>.
-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)
-to be printed in a minimum-size field width.
+This may also prepend spaces to output line numbers and byte offsets
+so that lines from a single file all start at the same column.
 </p>
 </dd>
 <dt><samp>-u</samp></dt>
@@ -1347,8 +1347,10 @@
 <a name="index-_002d_002dperl_002dregexp"></a>
 <a name="index-matching-Perl_002dcompatible-regular-expressions"></a>
 <p>Interpret the pattern as a Perl-compatible regular expression (PCRE).
-This is highly experimental and
+This is highly experimental, particularly when combined with
+the <samp>-z</samp> (<samp>--null-data</samp>) option, and
 &lsquo;<samp>grep&nbsp;-P</samp>&rsquo; may warn of unimplemented features.
+See <a href="#Other-Options">Other Options</a>.
 </p>
 </dd>
 </dl>
@@ -2052,7 +2054,7 @@
 match newlines in the way you might expect.
 </p>
 <p>With the GNU <code>grep</code> option <samp>-z</samp> (<samp>--null-data</samp>), each
-input &ldquo;line&rdquo; is terminated by a null byte; see <a href="#Other-Options">Other Options</a>.  Thus,
+input and output &ldquo;line&rdquo; is null-terminated; see <a href="#Other-Options">Other Options</a>.  Thus,
 you can match newlines in the input, but typically if there is a match
 the entire input is output, so this usage is often combined with
 output-suppressing options like <samp>-q</samp>, e.g.:


From MAILER-DAEMON Wed Dec 07 08:11:39 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cEc0Z-0000uv-Of
	for mharc-grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:39 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34434)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0U-0000qt-Fu
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:38 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0Q-0004f2-CS
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:34 -0500
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50536)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0P-0004e6-Sw
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:30 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:54995)
	by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.82) (envelope-from <jim@meyering.net>) id 1cEc0P-0007Zb-9F
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:29 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0M-0004Xn-GG
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:28 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:54487)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0M-0004Wb-Dp
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:26 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69698)
	id 618712201B1; Wed,  7 Dec 2016 13:11:26 +0000 (UTC)
To: grep-webcvs-diffs@gnu.org
Subject: Changes to grep/manual/html_node/Anchoring.html,v
Message-Id: <20161207131126.618712201B1@vcs.savannah.gnu.org>
Date: Wed,  7 Dec 2016 13:11:26 +0000 (UTC)
From: jim@meyering.net (Jim Meyering)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 07 Dec 2016 13:11:38 -0000

CVSROOT:	/webcvs/grep
Module name:	grep
Changes by:	Jim Meyering <meyering>	16/12/07 13:11:25

Index: html_node/Anchoring.html
===================================================================
RCS file: /webcvs/grep/grep/manual/html_node/Anchoring.html,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- html_node/Anchoring.html	3 Oct 2016 02:37:09 -0000	1.25
+++ html_node/Anchoring.html	7 Dec 2016 13:11:22 -0000	1.26
@@ -13,10 +13,10 @@
 "GNU Free Documentation License". -->
 <!-- Created by GNU Texinfo 6.3, http://www.gnu.org/software/texinfo/ -->
 <head>
-<title>GNU Grep 2.26: Anchoring</title>
+<title>GNU Grep 2.27: Anchoring</title>
 
-<meta name="description" content="GNU Grep 2.26: Anchoring">
-<meta name="keywords" content="GNU Grep 2.26: Anchoring">
+<meta name="description" content="GNU Grep 2.27: Anchoring">
+<meta name="keywords" content="GNU Grep 2.27: Anchoring">
 <meta name="resource-type" content="document">
 <meta name="distribution" content="global">
 <meta name="Generator" content="makeinfo">


From MAILER-DAEMON Wed Dec 07 08:11:40 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cEc0Z-0000vI-VO
	for mharc-grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:40 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34454)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0V-0000rB-1r
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:38 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0Q-0004fW-Gf
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:34 -0500
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50539)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0Q-0004eE-3w
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:30 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:55010)
	by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.82) (envelope-from <jim@meyering.net>) id 1cEc0P-0007Zn-Iz
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:29 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0M-0004Yt-TQ
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:29 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:54515)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0M-0004Yg-Qj
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:26 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69698)
	id BC1432201B4; Wed,  7 Dec 2016 13:11:26 +0000 (UTC)
To: grep-webcvs-diffs@gnu.org
Subject: Changes to grep/manual/html_node/Environment-Variables.html,v
Message-Id: <20161207131126.BC1432201B4@vcs.savannah.gnu.org>
Date: Wed,  7 Dec 2016 13:11:26 +0000 (UTC)
From: jim@meyering.net (Jim Meyering)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 07 Dec 2016 13:11:38 -0000

CVSROOT:	/webcvs/grep
Module name:	grep
Changes by:	Jim Meyering <meyering>	16/12/07 13:11:25

Index: html_node/Environment-Variables.html
===================================================================
RCS file: /webcvs/grep/grep/manual/html_node/Environment-Variables.html,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- html_node/Environment-Variables.html	3 Oct 2016 02:37:09 -0000	1.25
+++ html_node/Environment-Variables.html	7 Dec 2016 13:11:22 -0000	1.26
@@ -13,10 +13,10 @@
 "GNU Free Documentation License". -->
 <!-- Created by GNU Texinfo 6.3, http://www.gnu.org/software/texinfo/ -->
 <head>
-<title>GNU Grep 2.26: Environment Variables</title>
+<title>GNU Grep 2.27: Environment Variables</title>
 
-<meta name="description" content="GNU Grep 2.26: Environment Variables">
-<meta name="keywords" content="GNU Grep 2.26: Environment Variables">
+<meta name="description" content="GNU Grep 2.27: Environment Variables">
+<meta name="keywords" content="GNU Grep 2.27: Environment Variables">
 <meta name="resource-type" content="document">
 <meta name="distribution" content="global">
 <meta name="Generator" content="makeinfo">


From MAILER-DAEMON Wed Dec 07 08:11:41 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cEc0a-0000wT-Oz
	for mharc-grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:40 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34433)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0U-0000qs-Fq
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:37 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0P-0004e0-RO
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:34 -0500
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50534)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0P-0004dZ-E5
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:29 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:54981)
	by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.82) (envelope-from <jim@meyering.net>) id 1cEc0O-0007ZW-Ub
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:29 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0M-0004Xh-G7
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:28 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:54488)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0M-0004Wa-C8
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:26 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69698)
	id 53FDD2201B8; Wed,  7 Dec 2016 13:11:26 +0000 (UTC)
To: grep-webcvs-diffs@gnu.org
Subject: Changes to grep/manual/index.html,v
Message-Id: <20161207131126.53FDD2201B8@vcs.savannah.gnu.org>
Date: Wed,  7 Dec 2016 13:11:26 +0000 (UTC)
From: jim@meyering.net (Jim Meyering)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 07 Dec 2016 13:11:37 -0000

CVSROOT:	/webcvs/grep
Module name:	grep
Changes by:	Jim Meyering <meyering>	16/12/07 13:11:25

Index: index.html
===================================================================
RCS file: /webcvs/grep/grep/manual/index.html,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- index.html	3 Oct 2016 02:37:08 -0000	1.25
+++ index.html	7 Dec 2016 13:11:21 -0000	1.26
@@ -5,7 +5,7 @@
 <h2>GNU grep - GNU Grep: Print lines matching a pattern</h2>
 
 <address>Free Software Foundation</address>
-<address>last updated October 02, 2016</address>
+<address>last updated December 07, 2016</address>
 
 <p>This manual (grep) is available in the following formats:</p>
 


From MAILER-DAEMON Wed Dec 07 08:11:42 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cEc0c-0000xo-0u
	for mharc-grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:42 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34438)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0U-0000qv-Gv
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:38 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0Q-0004fC-Es
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:34 -0500
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50538)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0Q-0004eD-1l
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:30 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:55003)
	by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.82) (envelope-from <jim@meyering.net>) id 1cEc0P-0007Zk-HL
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:29 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0M-0004YU-PN
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:29 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:54509)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0M-0004YH-Lh
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:26 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69698)
	id 95995220149; Wed,  7 Dec 2016 13:11:26 +0000 (UTC)
To: grep-webcvs-diffs@gnu.org
Subject: Changes to grep/manual/html_node/Command_002dline-Options.html,v
Message-Id: <20161207131126.95995220149@vcs.savannah.gnu.org>
Date: Wed,  7 Dec 2016 13:11:26 +0000 (UTC)
From: jim@meyering.net (Jim Meyering)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 07 Dec 2016 13:11:38 -0000

CVSROOT:	/webcvs/grep
Module name:	grep
Changes by:	Jim Meyering <meyering>	16/12/07 13:11:25

Index: html_node/Command_002dline-Options.html
===================================================================
RCS file: /webcvs/grep/grep/manual/html_node/Command_002dline-Options.html,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- html_node/Command_002dline-Options.html	3 Oct 2016 02:37:09 -0000	1.25
+++ html_node/Command_002dline-Options.html	7 Dec 2016 13:11:22 -0000	1.26
@@ -13,10 +13,10 @@
 "GNU Free Documentation License". -->
 <!-- Created by GNU Texinfo 6.3, http://www.gnu.org/software/texinfo/ -->
 <head>
-<title>GNU Grep 2.26: Command-line Options</title>
+<title>GNU Grep 2.27: Command-line Options</title>
 
-<meta name="description" content="GNU Grep 2.26: Command-line Options">
-<meta name="keywords" content="GNU Grep 2.26: Command-line Options">
+<meta name="description" content="GNU Grep 2.27: Command-line Options">
+<meta name="keywords" content="GNU Grep 2.27: Command-line Options">
 <meta name="resource-type" content="document">
 <meta name="distribution" content="global">
 <meta name="Generator" content="makeinfo">


From MAILER-DAEMON Wed Dec 07 08:11:45 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cEc0c-0000y8-79
	for mharc-grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:42 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34496)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0V-0000rN-Df
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:38 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0P-0004dE-4O
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:35 -0500
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50531)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0O-0004d3-Vs
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:29 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:54953)
	by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.82) (envelope-from <jim@meyering.net>) id 1cEc0O-0007ZS-N3
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:28 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0M-0004XC-7D
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:28 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:54491)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0M-0004X6-4V
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:26 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69698)
	id 0E0CB2201B4; Wed,  7 Dec 2016 13:11:26 +0000 (UTC)
To: grep-webcvs-diffs@gnu.org
Subject: Changes to grep/manual/grep.info.tar.gz,v
Message-Id: <20161207131126.0E0CB2201B4@vcs.savannah.gnu.org>
Date: Wed,  7 Dec 2016 13:11:26 +0000 (UTC)
From: jim@meyering.net (Jim Meyering)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 07 Dec 2016 13:11:38 -0000

CVSROOT:	/webcvs/grep
Module name:	grep
Changes by:	Jim Meyering <meyering>	16/12/07 13:11:25

Index: grep.info.tar.gz
===================================================================
RCS file: /webcvs/grep/grep/manual/grep.info.tar.gz,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -b -r1.27 -r1.28
Binary files /tmp/cvsOWT2s5 and /tmp/cvsajsLqt differ


From MAILER-DAEMON Wed Dec 07 08:11:47 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cEc0h-00011q-Hm
	for mharc-grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:47 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34431)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0U-0000qp-FP
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:37 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0Q-0004ev-Cm
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:34 -0500
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50535)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0P-0004e5-T9
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:30 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:54994)
	by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.82) (envelope-from <jim@meyering.net>) id 1cEc0P-0007Za-8N
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:29 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0M-0004Y6-Jq
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:28 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:54502)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0M-0004Xr-Gq
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:26 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69698)
	id 6F7602201B1; Wed,  7 Dec 2016 13:11:26 +0000 (UTC)
To: grep-webcvs-diffs@gnu.org
Subject: Changes to
	grep/manual/html_node/Back_002dreferences-and-Subexpressions.html, v
Message-Id: <20161207131126.6F7602201B1@vcs.savannah.gnu.org>
Date: Wed,  7 Dec 2016 13:11:26 +0000 (UTC)
From: jim@meyering.net (Jim Meyering)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 07 Dec 2016 13:11:37 -0000

CVSROOT:	/webcvs/grep
Module name:	grep
Changes by:	Jim Meyering <meyering>	16/12/07 13:11:25

Index: html_node/Back_002dreferences-and-Subexpressions.html
===================================================================
RCS file: /webcvs/grep/grep/manual/html_node/Back_002dreferences-and-Subexpressions.html,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- html_node/Back_002dreferences-and-Subexpressions.html	3 Oct 2016 02:37:09 -0000	1.25
+++ html_node/Back_002dreferences-and-Subexpressions.html	7 Dec 2016 13:11:22 -0000	1.26
@@ -13,10 +13,10 @@
 "GNU Free Documentation License". -->
 <!-- Created by GNU Texinfo 6.3, http://www.gnu.org/software/texinfo/ -->
 <head>
-<title>GNU Grep 2.26: Back-references and Subexpressions</title>
+<title>GNU Grep 2.27: Back-references and Subexpressions</title>
 
-<meta name="description" content="GNU Grep 2.26: Back-references and Subexpressions">
-<meta name="keywords" content="GNU Grep 2.26: Back-references and Subexpressions">
+<meta name="description" content="GNU Grep 2.27: Back-references and Subexpressions">
+<meta name="keywords" content="GNU Grep 2.27: Back-references and Subexpressions">
 <meta name="resource-type" content="document">
 <meta name="distribution" content="global">
 <meta name="Generator" content="makeinfo">


From MAILER-DAEMON Wed Dec 07 08:11:48 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cEc0h-000124-Ow
	for mharc-grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:47 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34515)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0V-0000ra-Nr
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:39 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0R-0004gq-GZ
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:35 -0500
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50549)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0R-0004gX-BO
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:31 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:55071)
	by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.82) (envelope-from <jim@meyering.net>) id 1cEc0Q-0007aR-MO
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:30 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0M-0004X0-4N
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:30 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:54488)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0M-0004Wa-1G
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:26 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69698)
	id EF8052201B1; Wed,  7 Dec 2016 13:11:25 +0000 (UTC)
To: grep-webcvs-diffs@gnu.org
Subject: Changes to grep/manual/grep.html_node.tar.gz,v
Message-Id: <20161207131125.EF8052201B1@vcs.savannah.gnu.org>
Date: Wed,  7 Dec 2016 13:11:25 +0000 (UTC)
From: jim@meyering.net (Jim Meyering)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 07 Dec 2016 13:11:39 -0000

CVSROOT:	/webcvs/grep
Module name:	grep
Changes by:	Jim Meyering <meyering>	16/12/07 13:11:25

Index: grep.html_node.tar.gz
===================================================================
RCS file: /webcvs/grep/grep/manual/grep.html_node.tar.gz,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -b -r1.27 -r1.28
Binary files /tmp/cvsIC7Ag7 and /tmp/cvsRNWkdv differ


From MAILER-DAEMON Wed Dec 07 08:11:48 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cEc0i-00012R-28
	for mharc-grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:48 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34530)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0W-0000rj-54
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:39 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0R-0004gf-EP
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:36 -0500
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50546)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0R-0004gA-7U
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:31 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:55060)
	by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.82) (envelope-from <jim@meyering.net>) id 1cEc0Q-0007aO-IN
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:30 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0N-0004Z8-09
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:30 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:54487)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0M-0004Wb-TB
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:26 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69698)
	id D3AAE2201B4; Wed,  7 Dec 2016 13:11:26 +0000 (UTC)
To: grep-webcvs-diffs@gnu.org
Subject: Changes to grep/manual/html_node/File-and-Directory-Selection.html,v
Message-Id: <20161207131126.D3AAE2201B4@vcs.savannah.gnu.org>
Date: Wed,  7 Dec 2016 13:11:26 +0000 (UTC)
From: jim@meyering.net (Jim Meyering)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 07 Dec 2016 13:11:40 -0000

CVSROOT:	/webcvs/grep
Module name:	grep
Changes by:	Jim Meyering <meyering>	16/12/07 13:11:25

Index: html_node/File-and-Directory-Selection.html
===================================================================
RCS file: /webcvs/grep/grep/manual/html_node/File-and-Directory-Selection.html,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- html_node/File-and-Directory-Selection.html	3 Oct 2016 02:37:09 -0000	1.25
+++ html_node/File-and-Directory-Selection.html	7 Dec 2016 13:11:22 -0000	1.26
@@ -13,10 +13,10 @@
 "GNU Free Documentation License". -->
 <!-- Created by GNU Texinfo 6.3, http://www.gnu.org/software/texinfo/ -->
 <head>
-<title>GNU Grep 2.26: File and Directory Selection</title>
+<title>GNU Grep 2.27: File and Directory Selection</title>
 
-<meta name="description" content="GNU Grep 2.26: File and Directory Selection">
-<meta name="keywords" content="GNU Grep 2.26: File and Directory Selection">
+<meta name="description" content="GNU Grep 2.27: File and Directory Selection">
+<meta name="keywords" content="GNU Grep 2.27: File and Directory Selection">
 <meta name="resource-type" content="document">
 <meta name="distribution" content="global">
 <meta name="Generator" content="makeinfo">


From MAILER-DAEMON Wed Dec 07 08:11:48 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cEc0i-00012u-5y
	for mharc-grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:48 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34513)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0V-0000rY-Mh
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:39 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0Q-0004fe-GY
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:35 -0500
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50540)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0Q-0004eG-4z
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:30 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:55009)
	by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.82) (envelope-from <jim@meyering.net>) id 1cEc0P-0007Zl-I9
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:29 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0M-0004YD-L6
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:29 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:54504)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0M-0004Xz-I3
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:26 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69698)
	id 7CD1F220149; Wed,  7 Dec 2016 13:11:26 +0000 (UTC)
To: grep-webcvs-diffs@gnu.org
Subject: Changes to grep/manual/html_node/Basic-vs-Extended.html,v
Message-Id: <20161207131126.7CD1F220149@vcs.savannah.gnu.org>
Date: Wed,  7 Dec 2016 13:11:26 +0000 (UTC)
From: jim@meyering.net (Jim Meyering)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 07 Dec 2016 13:11:39 -0000

CVSROOT:	/webcvs/grep
Module name:	grep
Changes by:	Jim Meyering <meyering>	16/12/07 13:11:25

Index: html_node/Basic-vs-Extended.html
===================================================================
RCS file: /webcvs/grep/grep/manual/html_node/Basic-vs-Extended.html,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- html_node/Basic-vs-Extended.html	3 Oct 2016 02:37:09 -0000	1.25
+++ html_node/Basic-vs-Extended.html	7 Dec 2016 13:11:22 -0000	1.26
@@ -13,10 +13,10 @@
 "GNU Free Documentation License". -->
 <!-- Created by GNU Texinfo 6.3, http://www.gnu.org/software/texinfo/ -->
 <head>
-<title>GNU Grep 2.26: Basic vs Extended</title>
+<title>GNU Grep 2.27: Basic vs Extended</title>
 
-<meta name="description" content="GNU Grep 2.26: Basic vs Extended">
-<meta name="keywords" content="GNU Grep 2.26: Basic vs Extended">
+<meta name="description" content="GNU Grep 2.27: Basic vs Extended">
+<meta name="keywords" content="GNU Grep 2.27: Basic vs Extended">
 <meta name="resource-type" content="document">
 <meta name="distribution" content="global">
 <meta name="Generator" content="makeinfo">


From MAILER-DAEMON Wed Dec 07 08:11:48 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cEc0i-000134-DH
	for mharc-grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:48 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34537)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0W-0000rn-6r
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:40 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0R-0004hE-O0
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:36 -0500
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50550)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0R-0004gy-IT
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:31 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:55077)
	by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.82) (envelope-from <jim@meyering.net>) id 1cEc0Q-0007aS-UT
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:31 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0N-0004aG-Gh
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:30 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:54528)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0N-0004Zr-9m
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:27 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69698)
	id 355982201B4; Wed,  7 Dec 2016 13:11:27 +0000 (UTC)
To: grep-webcvs-diffs@gnu.org
Subject: Changes to grep/manual/html_node/Introduction.html,v
Message-Id: <20161207131127.355982201B4@vcs.savannah.gnu.org>
Date: Wed,  7 Dec 2016 13:11:27 +0000 (UTC)
From: jim@meyering.net (Jim Meyering)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 07 Dec 2016 13:11:40 -0000

CVSROOT:	/webcvs/grep
Module name:	grep
Changes by:	Jim Meyering <meyering>	16/12/07 13:11:25

Index: html_node/Introduction.html
===================================================================
RCS file: /webcvs/grep/grep/manual/html_node/Introduction.html,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- html_node/Introduction.html	3 Oct 2016 02:37:09 -0000	1.25
+++ html_node/Introduction.html	7 Dec 2016 13:11:22 -0000	1.26
@@ -13,10 +13,10 @@
 "GNU Free Documentation License". -->
 <!-- Created by GNU Texinfo 6.3, http://www.gnu.org/software/texinfo/ -->
 <head>
-<title>GNU Grep 2.26: Introduction</title>
+<title>GNU Grep 2.27: Introduction</title>
 
-<meta name="description" content="GNU Grep 2.26: Introduction">
-<meta name="keywords" content="GNU Grep 2.26: Introduction">
+<meta name="description" content="GNU Grep 2.27: Introduction">
+<meta name="keywords" content="GNU Grep 2.27: Introduction">
 <meta name="resource-type" content="document">
 <meta name="distribution" content="global">
 <meta name="Generator" content="makeinfo">


From MAILER-DAEMON Wed Dec 07 08:11:48 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cEc0i-00013V-Ma
	for mharc-grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:48 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34729)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0a-0000w3-ER
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:44 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0S-0004ia-MV
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:40 -0500
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50559)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0S-0004iA-J8
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:32 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:55160)
	by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.82) (envelope-from <jim@meyering.net>) id 1cEc0S-0007bM-8M
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:32 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0N-0004Zv-BZ
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:31 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:54487)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0N-0004Wb-4b
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:27 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69698)
	id 1ADE92201B1; Wed,  7 Dec 2016 13:11:27 +0000 (UTC)
To: grep-webcvs-diffs@gnu.org
Subject: Changes to grep/manual/html_node/Generic-Program-Information.html,v
Message-Id: <20161207131127.1ADE92201B1@vcs.savannah.gnu.org>
Date: Wed,  7 Dec 2016 13:11:27 +0000 (UTC)
From: jim@meyering.net (Jim Meyering)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 07 Dec 2016 13:11:45 -0000

CVSROOT:	/webcvs/grep
Module name:	grep
Changes by:	Jim Meyering <meyering>	16/12/07 13:11:25

Index: html_node/Generic-Program-Information.html
===================================================================
RCS file: /webcvs/grep/grep/manual/html_node/Generic-Program-Information.html,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- html_node/Generic-Program-Information.html	3 Oct 2016 02:37:09 -0000	1.25
+++ html_node/Generic-Program-Information.html	7 Dec 2016 13:11:22 -0000	1.26
@@ -13,10 +13,10 @@
 "GNU Free Documentation License". -->
 <!-- Created by GNU Texinfo 6.3, http://www.gnu.org/software/texinfo/ -->
 <head>
-<title>GNU Grep 2.26: Generic Program Information</title>
+<title>GNU Grep 2.27: Generic Program Information</title>
 
-<meta name="description" content="GNU Grep 2.26: Generic Program Information">
-<meta name="keywords" content="GNU Grep 2.26: Generic Program Information">
+<meta name="description" content="GNU Grep 2.27: Generic Program Information">
+<meta name="keywords" content="GNU Grep 2.27: Generic Program Information">
 <meta name="resource-type" content="document">
 <meta name="distribution" content="global">
 <meta name="Generator" content="makeinfo">


From MAILER-DAEMON Wed Dec 07 08:11:49 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cEc0i-000141-Sw
	for mharc-grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:48 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34656)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0Y-0000tn-ND
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:44 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0R-0004g5-53
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:38 -0500
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50544)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0R-0004fx-0o
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:31 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:55052)
	by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.82) (envelope-from <jim@meyering.net>) id 1cEc0Q-0007aL-G5
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:30 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0N-0004ZF-0O
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:30 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:54488)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0M-0004Wa-Tn
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:26 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69698)
	id DAEA5220149; Wed,  7 Dec 2016 13:11:26 +0000 (UTC)
To: grep-webcvs-diffs@gnu.org
Subject: Changes to grep/manual/html_node/Fundamental-Structure.html,v
Message-Id: <20161207131126.DAEA5220149@vcs.savannah.gnu.org>
Date: Wed,  7 Dec 2016 13:11:26 +0000 (UTC)
From: jim@meyering.net (Jim Meyering)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 07 Dec 2016 13:11:45 -0000

CVSROOT:	/webcvs/grep
Module name:	grep
Changes by:	Jim Meyering <meyering>	16/12/07 13:11:25

Index: html_node/Fundamental-Structure.html
===================================================================
RCS file: /webcvs/grep/grep/manual/html_node/Fundamental-Structure.html,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- html_node/Fundamental-Structure.html	3 Oct 2016 02:37:09 -0000	1.25
+++ html_node/Fundamental-Structure.html	7 Dec 2016 13:11:22 -0000	1.26
@@ -13,10 +13,10 @@
 "GNU Free Documentation License". -->
 <!-- Created by GNU Texinfo 6.3, http://www.gnu.org/software/texinfo/ -->
 <head>
-<title>GNU Grep 2.26: Fundamental Structure</title>
+<title>GNU Grep 2.27: Fundamental Structure</title>
 
-<meta name="description" content="GNU Grep 2.26: Fundamental Structure">
-<meta name="keywords" content="GNU Grep 2.26: Fundamental Structure">
+<meta name="description" content="GNU Grep 2.27: Fundamental Structure">
+<meta name="keywords" content="GNU Grep 2.27: Fundamental Structure">
 <meta name="resource-type" content="document">
 <meta name="distribution" content="global">
 <meta name="Generator" content="makeinfo">


From MAILER-DAEMON Wed Dec 07 08:11:49 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cEc0j-000148-2j
	for mharc-grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:49 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34703)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0Z-0000v4-SN
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:44 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0S-0004iS-LG
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:39 -0500
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50557)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0S-0004i5-IE
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:32 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:55153)
	by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.82) (envelope-from <jim@meyering.net>) id 1cEc0S-0007bG-26
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:32 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0N-0004bo-VT
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:31 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:54543)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0N-0004bH-QS
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:27 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69698)
	id AE4F32201B8; Wed,  7 Dec 2016 13:11:27 +0000 (UTC)
To: grep-webcvs-diffs@gnu.org
Subject: Changes to grep/manual/html_node/grep-Programs.html,v
Message-Id: <20161207131127.AE4F32201B8@vcs.savannah.gnu.org>
Date: Wed,  7 Dec 2016 13:11:27 +0000 (UTC)
From: jim@meyering.net (Jim Meyering)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 07 Dec 2016 13:11:45 -0000

CVSROOT:	/webcvs/grep
Module name:	grep
Changes by:	Jim Meyering <meyering>	16/12/07 13:11:25

Index: html_node/grep-Programs.html
===================================================================
RCS file: /webcvs/grep/grep/manual/html_node/grep-Programs.html,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- html_node/grep-Programs.html	3 Oct 2016 02:37:09 -0000	1.25
+++ html_node/grep-Programs.html	7 Dec 2016 13:11:22 -0000	1.26
@@ -13,10 +13,10 @@
 "GNU Free Documentation License". -->
 <!-- Created by GNU Texinfo 6.3, http://www.gnu.org/software/texinfo/ -->
 <head>
-<title>GNU Grep 2.26: grep Programs</title>
+<title>GNU Grep 2.27: grep Programs</title>
 
-<meta name="description" content="GNU Grep 2.26: grep Programs">
-<meta name="keywords" content="GNU Grep 2.26: grep Programs">
+<meta name="description" content="GNU Grep 2.27: grep Programs">
+<meta name="keywords" content="GNU Grep 2.27: grep Programs">
 <meta name="resource-type" content="document">
 <meta name="distribution" content="global">
 <meta name="Generator" content="makeinfo">
@@ -116,8 +116,10 @@
 <a name="index-_002d_002dperl_002dregexp"></a>
 <a name="index-matching-Perl_002dcompatible-regular-expressions"></a>
 <p>Interpret the pattern as a Perl-compatible regular expression (PCRE).
-This is highly experimental and
+This is highly experimental, particularly when combined with
+the <samp>-z</samp> (<samp>--null-data</samp>) option, and
 &lsquo;<samp>grep&nbsp;-P</samp>&rsquo; may warn of unimplemented features.
+See <a href="Other-Options.html#Other-Options">Other Options</a>.
 </p>
 </dd>
 </dl>


From MAILER-DAEMON Wed Dec 07 08:11:49 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cEc0j-00014d-8z
	for mharc-grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:49 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34514)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0V-0000rZ-Mt
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:44 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0P-0004di-HB
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:35 -0500
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50532)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0P-0004dO-BP
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:29 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:54970)
	by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.82) (envelope-from <jim@meyering.net>) id 1cEc0O-0007ZU-R0
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:28 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0M-0004XT-Az
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:28 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:54495)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0M-0004XH-7o
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:26 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69698)
	id 2AAE52201B1; Wed,  7 Dec 2016 13:11:26 +0000 (UTC)
To: grep-webcvs-diffs@gnu.org
Subject: Changes to grep/manual/grep.texi.tar.gz,v
Message-Id: <20161207131126.2AAE52201B1@vcs.savannah.gnu.org>
Date: Wed,  7 Dec 2016 13:11:26 +0000 (UTC)
From: jim@meyering.net (Jim Meyering)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 07 Dec 2016 13:11:45 -0000

CVSROOT:	/webcvs/grep
Module name:	grep
Changes by:	Jim Meyering <meyering>	16/12/07 13:11:25

Index: grep.texi.tar.gz
===================================================================
RCS file: /webcvs/grep/grep/manual/grep.texi.tar.gz,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -b -r1.27 -r1.28
Binary files /tmp/cvsIGTfD8 and /tmp/cvsF5OeEw differ


From MAILER-DAEMON Wed Dec 07 08:11:49 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cEc0j-00014r-IR
	for mharc-grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:49 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34588)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0X-0000s0-4m
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:44 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0Q-0004en-Cz
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:37 -0500
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50537)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0P-0004eA-UA
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:30 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:54999)
	by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.82) (envelope-from <jim@meyering.net>) id 1cEc0P-0007Zc-Bl
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:29 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0M-0004Yk-RP
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:29 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:54513)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0M-0004YS-Oo
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:26 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69698)
	id B0A72220149; Wed,  7 Dec 2016 13:11:26 +0000 (UTC)
To: grep-webcvs-diffs@gnu.org
Subject: Changes to grep/manual/html_node/Copying.html,v
Message-Id: <20161207131126.B0A72220149@vcs.savannah.gnu.org>
Date: Wed,  7 Dec 2016 13:11:26 +0000 (UTC)
From: jim@meyering.net (Jim Meyering)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 07 Dec 2016 13:11:45 -0000

CVSROOT:	/webcvs/grep
Module name:	grep
Changes by:	Jim Meyering <meyering>	16/12/07 13:11:25

Index: html_node/Copying.html
===================================================================
RCS file: /webcvs/grep/grep/manual/html_node/Copying.html,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- html_node/Copying.html	3 Oct 2016 02:37:09 -0000	1.25
+++ html_node/Copying.html	7 Dec 2016 13:11:22 -0000	1.26
@@ -13,10 +13,10 @@
 "GNU Free Documentation License". -->
 <!-- Created by GNU Texinfo 6.3, http://www.gnu.org/software/texinfo/ -->
 <head>
-<title>GNU Grep 2.26: Copying</title>
+<title>GNU Grep 2.27: Copying</title>
 
-<meta name="description" content="GNU Grep 2.26: Copying">
-<meta name="keywords" content="GNU Grep 2.26: Copying">
+<meta name="description" content="GNU Grep 2.27: Copying">
+<meta name="keywords" content="GNU Grep 2.27: Copying">
 <meta name="resource-type" content="document">
 <meta name="distribution" content="global">
 <meta name="Generator" content="makeinfo">


From MAILER-DAEMON Wed Dec 07 08:11:50 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cEc0j-00015D-PV
	for mharc-grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:49 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34542)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0W-0000ro-8s
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:44 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0R-0004hd-RY
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:36 -0500
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50554)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0R-0004h6-Lk
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:31 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:55099)
	by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.82) (envelope-from <jim@meyering.net>) id 1cEc0R-0007ac-8B
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:31 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0N-0004aa-KZ
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:30 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:54530)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0N-0004a4-CD
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:27 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69698)
	id 44E642201B1; Wed,  7 Dec 2016 13:11:27 +0000 (UTC)
To: grep-webcvs-diffs@gnu.org
Subject: Changes to grep/manual/html_node/Invoking.html,v
Message-Id: <20161207131127.44E642201B1@vcs.savannah.gnu.org>
Date: Wed,  7 Dec 2016 13:11:27 +0000 (UTC)
From: jim@meyering.net (Jim Meyering)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 07 Dec 2016 13:11:45 -0000

CVSROOT:	/webcvs/grep
Module name:	grep
Changes by:	Jim Meyering <meyering>	16/12/07 13:11:25

Index: html_node/Invoking.html
===================================================================
RCS file: /webcvs/grep/grep/manual/html_node/Invoking.html,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- html_node/Invoking.html	3 Oct 2016 02:37:09 -0000	1.25
+++ html_node/Invoking.html	7 Dec 2016 13:11:22 -0000	1.26
@@ -13,10 +13,10 @@
 "GNU Free Documentation License". -->
 <!-- Created by GNU Texinfo 6.3, http://www.gnu.org/software/texinfo/ -->
 <head>
-<title>GNU Grep 2.26: Invoking</title>
+<title>GNU Grep 2.27: Invoking</title>
 
-<meta name="description" content="GNU Grep 2.26: Invoking">
-<meta name="keywords" content="GNU Grep 2.26: Invoking">
+<meta name="description" content="GNU Grep 2.27: Invoking">
+<meta name="keywords" content="GNU Grep 2.27: Invoking">
 <meta name="resource-type" content="document">
 <meta name="distribution" content="global">
 <meta name="Generator" content="makeinfo">


From MAILER-DAEMON Wed Dec 07 08:11:50 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cEc0k-00015W-0L
	for mharc-grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:50 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34600)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0X-0000sW-HC
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:44 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0T-0004jP-Q5
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:37 -0500
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50563)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0T-0004jD-Nj
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:33 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:55233)
	by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.82) (envelope-from <jim@meyering.net>) id 1cEc0T-0007bk-BX
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:33 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0M-0004XK-97
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:33 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:54493)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0M-0004X8-5z
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:26 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69698)
	id 1A26B220149; Wed,  7 Dec 2016 13:11:26 +0000 (UTC)
To: grep-webcvs-diffs@gnu.org
Subject: Changes to grep/manual/grep.pdf,v
Message-Id: <20161207131126.1A26B220149@vcs.savannah.gnu.org>
Date: Wed,  7 Dec 2016 13:11:26 +0000 (UTC)
From: jim@meyering.net (Jim Meyering)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 07 Dec 2016 13:11:45 -0000

CVSROOT:	/webcvs/grep
Module name:	grep
Changes by:	Jim Meyering <meyering>	16/12/07 13:11:25

Index: grep.pdf
===================================================================
RCS file: /webcvs/grep/grep/manual/grep.pdf,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -b -r1.27 -r1.28
Binary files /tmp/cvsNf4GZ5 and /tmp/cvsF7RuZt differ


From MAILER-DAEMON Wed Dec 07 08:11:50 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cEc0k-00015z-55
	for mharc-grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:50 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34526)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0W-0000rh-0L
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:44 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0Q-0004fO-Ft
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:35 -0500
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50542)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0Q-0004eJ-7Q
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:30 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:55013)
	by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.82) (envelope-from <jim@meyering.net>) id 1cEc0P-0007Zp-Ks
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:29 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0M-0004Z1-V9
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:29 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:54517)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0M-0004Yo-Rt
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:26 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69698)
	id C76C22201B1; Wed,  7 Dec 2016 13:11:26 +0000 (UTC)
To: grep-webcvs-diffs@gnu.org
Subject: Changes to grep/manual/html_node/Exit-Status.html,v
Message-Id: <20161207131126.C76C22201B1@vcs.savannah.gnu.org>
Date: Wed,  7 Dec 2016 13:11:26 +0000 (UTC)
From: jim@meyering.net (Jim Meyering)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 07 Dec 2016 13:11:45 -0000

CVSROOT:	/webcvs/grep
Module name:	grep
Changes by:	Jim Meyering <meyering>	16/12/07 13:11:25

Index: html_node/Exit-Status.html
===================================================================
RCS file: /webcvs/grep/grep/manual/html_node/Exit-Status.html,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- html_node/Exit-Status.html	3 Oct 2016 02:37:09 -0000	1.25
+++ html_node/Exit-Status.html	7 Dec 2016 13:11:22 -0000	1.26
@@ -13,10 +13,10 @@
 "GNU Free Documentation License". -->
 <!-- Created by GNU Texinfo 6.3, http://www.gnu.org/software/texinfo/ -->
 <head>
-<title>GNU Grep 2.26: Exit Status</title>
+<title>GNU Grep 2.27: Exit Status</title>
 
-<meta name="description" content="GNU Grep 2.26: Exit Status">
-<meta name="keywords" content="GNU Grep 2.26: Exit Status">
+<meta name="description" content="GNU Grep 2.27: Exit Status">
+<meta name="keywords" content="GNU Grep 2.27: Exit Status">
 <meta name="resource-type" content="document">
 <meta name="distribution" content="global">
 <meta name="Generator" content="makeinfo">


From MAILER-DAEMON Wed Dec 07 08:11:50 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cEc0k-00016B-D5
	for mharc-grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:50 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34717)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0a-0000vp-8o
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:45 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0T-0004j7-L0
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:40 -0500
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50561)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0T-0004j2-Gr
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:33 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:55224)
	by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.82) (envelope-from <jim@meyering.net>) id 1cEc0T-0007bi-5N
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:33 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0M-0004Xt-Gh
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:32 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:54497)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0M-0004XP-AQ
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:26 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69698)
	id 39EFC2201B4; Wed,  7 Dec 2016 13:11:26 +0000 (UTC)
To: grep-webcvs-diffs@gnu.org
Subject: Changes to grep/manual/grep.txt,v
Message-Id: <20161207131126.39EFC2201B4@vcs.savannah.gnu.org>
Date: Wed,  7 Dec 2016 13:11:26 +0000 (UTC)
From: jim@meyering.net (Jim Meyering)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 07 Dec 2016 13:11:46 -0000

CVSROOT:	/webcvs/grep
Module name:	grep
Changes by:	Jim Meyering <meyering>	16/12/07 13:11:25

Index: grep.txt
===================================================================
RCS file: /webcvs/grep/grep/manual/grep.txt,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- grep.txt	3 Oct 2016 02:37:08 -0000	1.25
+++ grep.txt	7 Dec 2016 13:11:21 -0000	1.26
@@ -30,7 +30,7 @@
 
 ‘grep’ prints lines that contain a match for a pattern.
 
-   This manual is for version 2.26 of GNU Grep.
+   This manual is for version 2.27 of GNU Grep.
 
    This manual is for ‘grep’, a pattern matching engine.
 
@@ -226,7 +226,9 @@
 ‘-o’
 ‘--only-matching’
      Print only the matched (non-empty) parts of matching lines, with
-     each such part on a separate output line.
+     each such part on a separate output line.  Output lines use the
+     same delimiters as input, and delimiters are null bytes if ‘-z’
+     (‘--null-data’) is also used (*note Other Options::).
 
 ‘-q’
 ‘--quiet’
@@ -294,10 +296,9 @@
      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:
-     ‘-H’, ‘-n’, and ‘-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) to be
-     printed in a minimum-size field width.
+     ‘-H’, ‘-n’, and ‘-b’.  This may also prepend spaces to output line
+     numbers and byte offsets so that lines from a single file all start
+     at the same column.
 
 ‘-u’
 ‘--unix-byte-offsets’
@@ -746,8 +747,9 @@
 ‘-P’
 ‘--perl-regexp’
      Interpret the pattern as a Perl-compatible regular expression
-     (PCRE). This is highly experimental and ‘grep -P’ may warn of
-     unimplemented features.
+     (PCRE). This is highly experimental, particularly when combined
+     with the ‘-z’ (‘--null-data’) option, and ‘grep -P’ may warn of
+     unimplemented features.  *Note Other Options::.
 
    In addition, two variant programs ‘egrep’ and ‘fgrep’ are available.
 ‘egrep’ is the same as ‘grep -E’.  ‘fgrep’ is the same as ‘grep -F’.
@@ -1183,10 +1185,10 @@
      Therefore, merely using the ‘[:space:]’ character class does not
      match newlines in the way you might expect.
 
-     With the GNU ‘grep’ option ‘-z’ (‘--null-data’), each input “line”
-     is terminated by a null byte; *note Other Options::.  Thus, you can
-     match newlines in the input, but typically if there is a match the
-     entire input is output, so this usage is often combined with
+     With the GNU ‘grep’ option ‘-z’ (‘--null-data’), each input and
+     output “line” is null-terminated; *note Other Options::.  Thus, you
+     can match newlines in the input, but typically if there is a match
+     the entire input is output, so this usage is often combined with
      output-suppressing options like ‘-q’, e.g.:
 
           printf 'foo\nbar\n' | grep -z -q 'foo[[:space:]]\+bar'
@@ -1733,117 +1735,117 @@
 * Menu:
 
 * *:                                     Fundamental Structure.
-                                                             (line  792)
+                                                             (line  794)
 * +:                                     Fundamental Structure.
-                                                             (line  795)
+                                                             (line  797)
 * --after-context:                       Context Line Control.
-                                                             (line  334)
-* --basic-regexp:                        grep Programs.      (line  731)
+                                                             (line  335)
+* --basic-regexp:                        grep Programs.      (line  732)
 * --before-context:                      Context Line Control.
-                                                             (line  338)
-* --binary:                              Other Options.      (line  493)
+                                                             (line  339)
+* --binary:                              Other Options.      (line  494)
 * --binary-files:                        File and Directory Selection.
-                                                             (line  384)
+                                                             (line  385)
 * --byte-offset:                         Output Line Prefix Control.
-                                                             (line  262)
+                                                             (line  264)
 * --color:                               General Output Control.
                                                              (line  167)
 * --colour:                              General Output Control.
                                                              (line  167)
 * --context:                             Context Line Control.
-                                                             (line  343)
+                                                             (line  344)
 * --count:                               General Output Control.
                                                              (line  161)
 * --dereference-recursive:               File and Directory Selection.
-                                                             (line  481)
+                                                             (line  482)
 * --devices:                             File and Directory Selection.
-                                                             (line  423)
+                                                             (line  424)
 * --directories:                         File and Directory Selection.
-                                                             (line  434)
+                                                             (line  435)
 * --exclude:                             File and Directory Selection.
-                                                             (line  445)
+                                                             (line  446)
 * --exclude-dir:                         File and Directory Selection.
-                                                             (line  458)
+                                                             (line  459)
 * --exclude-from:                        File and Directory Selection.
-                                                             (line  454)
-* --extended-regexp:                     grep Programs.      (line  736)
+                                                             (line  455)
+* --extended-regexp:                     grep Programs.      (line  737)
 * --file:                                Matching Control.   (line  108)
 * --files-with-matches:                  General Output Control.
                                                              (line  188)
 * --files-without-match:                 General Output Control.
                                                              (line  182)
-* --fixed-strings:                       grep Programs.      (line  741)
+* --fixed-strings:                       grep Programs.      (line  742)
 * --group-separator:                     Context Line Control.
-                                                             (line  346)
+                                                             (line  347)
 * --group-separator <1>:                 Context Line Control.
-                                                             (line  350)
+                                                             (line  351)
 * --help:                                Generic Program Information.
                                                              (line   89)
 * --ignore-case:                         Matching Control.   (line  117)
 * --include:                             File and Directory Selection.
-                                                             (line  468)
+                                                             (line  469)
 * --initial-tab:                         Output Line Prefix Control.
-                                                             (line  293)
+                                                             (line  295)
 * --invert-match:                        Matching Control.   (line  136)
 * --label:                               Output Line Prefix Control.
-                                                             (line  280)
-* --line-buffered:                       Other Options.      (line  488)
+                                                             (line  282)
+* --line-buffered:                       Other Options.      (line  489)
 * --line-number:                         Output Line Prefix Control.
-                                                             (line  288)
+                                                             (line  290)
 * --line-regexp:                         Matching Control.   (line  151)
 * --max-count:                           General Output Control.
                                                              (line  195)
 * --no-filename:                         Output Line Prefix Control.
-                                                             (line  275)
+                                                             (line  277)
 * --no-messages:                         General Output Control.
-                                                             (line  240)
+                                                             (line  242)
 * --null:                                Output Line Prefix Control.
-                                                             (line  313)
-* --null-data:                           Other Options.      (line  506)
+                                                             (line  314)
+* --null-data:                           Other Options.      (line  507)
 * --only-matching:                       General Output Control.
                                                              (line  227)
-* --perl-regexp:                         grep Programs.      (line  747)
+* --perl-regexp:                         grep Programs.      (line  748)
 * --quiet:                               General Output Control.
-                                                             (line  233)
+                                                             (line  235)
 * --recursive:                           File and Directory Selection.
-                                                             (line  473)
+                                                             (line  474)
 * --regexp=PATTERN:                      Matching Control.   (line  102)
 * --silent:                              General Output Control.
-                                                             (line  233)
+                                                             (line  235)
 * --text:                                File and Directory Selection.
-                                                             (line  380)
+                                                             (line  381)
 * --unix-byte-offsets:                   Output Line Prefix Control.
-                                                             (line  303)
+                                                             (line  304)
 * --version:                             Generic Program Information.
                                                              (line   94)
 * --with-filename:                       Output Line Prefix Control.
-                                                             (line  270)
+                                                             (line  272)
 * --word-regexp:                         Matching Control.   (line  141)
 * -A:                                    Context Line Control.
-                                                             (line  334)
+                                                             (line  335)
 * -a:                                    File and Directory Selection.
-                                                             (line  380)
+                                                             (line  381)
 * -b:                                    Output Line Prefix Control.
-                                                             (line  262)
+                                                             (line  264)
 * -B:                                    Context Line Control.
-                                                             (line  338)
+                                                             (line  339)
 * -c:                                    General Output Control.
                                                              (line  161)
 * -C:                                    Context Line Control.
-                                                             (line  343)
+                                                             (line  344)
 * -D:                                    File and Directory Selection.
-                                                             (line  423)
+                                                             (line  424)
 * -d:                                    File and Directory Selection.
-                                                             (line  434)
+                                                             (line  435)
 * -e:                                    Matching Control.   (line  102)
-* -E:                                    grep Programs.      (line  736)
+* -E:                                    grep Programs.      (line  737)
 * -f:                                    Matching Control.   (line  108)
-* -F:                                    grep Programs.      (line  741)
-* -G:                                    grep Programs.      (line  731)
+* -F:                                    grep Programs.      (line  742)
+* -G:                                    grep Programs.      (line  732)
 * -H:                                    Output Line Prefix Control.
-                                                             (line  270)
+                                                             (line  272)
 * -h:                                    Output Line Prefix Control.
-                                                             (line  275)
+                                                             (line  277)
 * -i:                                    Matching Control.   (line  117)
 * -L:                                    General Output Control.
                                                              (line  182)
@@ -1852,25 +1854,25 @@
 * -m:                                    General Output Control.
                                                              (line  195)
 * -n:                                    Output Line Prefix Control.
-                                                             (line  288)
+                                                             (line  290)
 * -NUM:                                  Context Line Control.
-                                                             (line  343)
+                                                             (line  344)
 * -o:                                    General Output Control.
                                                              (line  227)
-* -P:                                    grep Programs.      (line  747)
+* -P:                                    grep Programs.      (line  748)
 * -q:                                    General Output Control.
-                                                             (line  233)
+                                                             (line  235)
 * -r:                                    File and Directory Selection.
-                                                             (line  473)
+                                                             (line  474)
 * -R:                                    File and Directory Selection.
-                                                             (line  481)
+                                                             (line  482)
 * -s:                                    General Output Control.
-                                                             (line  240)
+                                                             (line  242)
 * -T:                                    Output Line Prefix Control.
-                                                             (line  293)
+                                                             (line  295)
 * -u:                                    Output Line Prefix Control.
-                                                             (line  303)
-* -U:                                    Other Options.      (line  493)
+                                                             (line  304)
+* -U:                                    Other Options.      (line  494)
 * -V:                                    Generic Program Information.
                                                              (line   94)
 * -v:                                    Matching Control.   (line  136)
@@ -1878,329 +1880,329 @@
 * -x:                                    Matching Control.   (line  151)
 * -y:                                    Matching Control.   (line  117)
 * -Z:                                    Output Line Prefix Control.
-                                                             (line  313)
-* -z:                                    Other Options.      (line  506)
+                                                             (line  314)
+* -z:                                    Other Options.      (line  507)
 * .:                                     Fundamental Structure.
-                                                             (line  786)
+                                                             (line  788)
 * ?:                                     Fundamental Structure.
-                                                             (line  789)
+                                                             (line  791)
 * _N_GNU_nonoption_argv_flags_ environment variable: Environment Variables.
-                                                             (line  701)
+                                                             (line  702)
 * {,M}:                                  Fundamental Structure.
-                                                             (line  804)
+                                                             (line  806)
 * {N,M}:                                 Fundamental Structure.
-                                                             (line  808)
+                                                             (line  810)
 * {N,}:                                  Fundamental Structure.
-                                                             (line  801)
+                                                             (line  803)
 * {N}:                                   Fundamental Structure.
-                                                             (line  798)
+                                                             (line  800)
 * after context:                         Context Line Control.
-                                                             (line  334)
+                                                             (line  335)
 * alnum character class:                 Character Classes and Bracket Expressions.
-                                                             (line  851)
+                                                             (line  853)
 * alpha character class:                 Character Classes and Bracket Expressions.
-                                                             (line  856)
+                                                             (line  858)
 * alphabetic characters:                 Character Classes and Bracket Expressions.
-                                                             (line  856)
+                                                             (line  858)
 * alphanumeric characters:               Character Classes and Bracket Expressions.
-                                                             (line  851)
-* anchoring:                             Anchoring.          (line  979)
+                                                             (line  853)
+* anchoring:                             Anchoring.          (line  981)
 * asterisk:                              Fundamental Structure.
-                                                             (line  792)
+                                                             (line  794)
 * back-reference:                        Back-references and Subexpressions.
-                                                             (line  987)
+                                                             (line  989)
 * backslash:                             The Backslash Character and Special Expressions.
-                                                             (line  946)
-* basic regular expressions:             Basic vs Extended.  (line  999)
+                                                             (line  948)
+* basic regular expressions:             Basic vs Extended.  (line 1001)
 * before context:                        Context Line Control.
-                                                             (line  338)
+                                                             (line  339)
 * binary files:                          File and Directory Selection.
-                                                             (line  380)
+                                                             (line  381)
 * binary files <1>:                      File and Directory Selection.
-                                                             (line  384)
-* binary files, MS-DOS/MS-Windows:       Other Options.      (line  493)
+                                                             (line  385)
+* binary files, MS-DOS/MS-Windows:       Other Options.      (line  494)
 * blank character class:                 Character Classes and Bracket Expressions.
-                                                             (line  861)
+                                                             (line  863)
 * blank characters:                      Character Classes and Bracket Expressions.
-                                                             (line  861)
+                                                             (line  863)
 * bn GREP_COLORS capability:             Environment Variables.
-                                                             (line  642)
+                                                             (line  643)
 * braces, first argument omitted:        Fundamental Structure.
-                                                             (line  804)
+                                                             (line  806)
 * braces, one argument:                  Fundamental Structure.
-                                                             (line  798)
+                                                             (line  800)
 * braces, second argument omitted:       Fundamental Structure.
-                                                             (line  801)
+                                                             (line  803)
 * braces, two arguments:                 Fundamental Structure.
-                                                             (line  808)
+                                                             (line  810)
 * bracket expression:                    Character Classes and Bracket Expressions.
-                                                             (line  828)
-* Bugs, known:                           Reporting Bugs.     (line 1221)
-* bugs, reporting:                       Reporting Bugs.     (line 1213)
+                                                             (line  830)
+* Bugs, known:                           Reporting Bugs.     (line 1223)
+* bugs, reporting:                       Reporting Bugs.     (line 1215)
 * byte offset:                           Output Line Prefix Control.
-                                                             (line  262)
+                                                             (line  264)
 * byte offsets, on MS-DOS/MS-Windows:    Output Line Prefix Control.
-                                                             (line  303)
+                                                             (line  304)
 * case insensitive search:               Matching Control.   (line  117)
 * changing name of standard input:       Output Line Prefix Control.
-                                                             (line  280)
+                                                             (line  282)
 * character class:                       Character Classes and Bracket Expressions.
-                                                             (line  828)
+                                                             (line  830)
 * character classes:                     Character Classes and Bracket Expressions.
-                                                             (line  850)
+                                                             (line  852)
 * character type:                        Environment Variables.
-                                                             (line  669)
+                                                             (line  670)
 * classes of characters:                 Character Classes and Bracket Expressions.
-                                                             (line  850)
+                                                             (line  852)
 * cntrl character class:                 Character Classes and Bracket Expressions.
-                                                             (line  864)
+                                                             (line  866)
 * context lines:                         General Output Control.
                                                              (line  218)
 * context lines <1>:                     Context Line Control.
-                                                             (line  325)
+                                                             (line  326)
 * context lines <2>:                     Context Line Control.
-                                                             (line  343)
+                                                             (line  344)
 * context lines, after match:            Context Line Control.
-                                                             (line  334)
+                                                             (line  335)
 * context lines, before match:           Context Line Control.
-                                                             (line  338)
+                                                             (line  339)
 * control characters:                    Character Classes and Bracket Expressions.
-                                                             (line  864)
-* copying:                               Copying.            (line 1231)
+                                                             (line  866)
+* copying:                               Copying.            (line 1233)
 * counting lines:                        General Output Control.
                                                              (line  161)
 * cx GREP_COLORS capability:             Environment Variables.
-                                                             (line  593)
+                                                             (line  594)
 * default options environment variable:  Environment Variables.
-                                                             (line  553)
+                                                             (line  554)
 * device search:                         File and Directory Selection.
-                                                             (line  423)
+                                                             (line  424)
 * digit character class:                 Character Classes and Bracket Expressions.
-                                                             (line  869)
+                                                             (line  871)
 * digit characters:                      Character Classes and Bracket Expressions.
-                                                             (line  869)
+                                                             (line  871)
 * directory search:                      File and Directory Selection.
-                                                             (line  434)
+                                                             (line  435)
 * dot:                                   Fundamental Structure.
-                                                             (line  786)
+                                                             (line  788)
 * environment variables:                 Environment Variables.
-                                                             (line  552)
+                                                             (line  553)
 * exclude directories:                   File and Directory Selection.
-                                                             (line  458)
+                                                             (line  459)
 * exclude files:                         File and Directory Selection.
-                                                             (line  445)
+                                                             (line  446)
 * exclude files <1>:                     File and Directory Selection.
-                                                             (line  454)
-* exit status:                           Exit Status.        (line  713)
-* FAQ about grep usage:                  Usage.              (line 1029)
+                                                             (line  455)
+* exit status:                           Exit Status.        (line  714)
+* FAQ about grep usage:                  Usage.              (line 1031)
 * files which don’t match:               General Output Control.
                                                              (line  182)
 * fn GREP_COLORS capability:             Environment Variables.
-                                                             (line  632)
+                                                             (line  633)
 * fn GREP_COLORS capability <1>:         Environment Variables.
-                                                             (line  647)
+                                                             (line  648)
 * graph character class:                 Character Classes and Bracket Expressions.
-                                                             (line  872)
+                                                             (line  874)
 * graphic characters:                    Character Classes and Bracket Expressions.
-                                                             (line  872)
-* grep programs:                         grep Programs.      (line  722)
+                                                             (line  874)
+* grep programs:                         grep Programs.      (line  723)
 * GREP_COLOR environment variable:       Environment Variables.
-                                                             (line  566)
+                                                             (line  567)
 * GREP_COLORS environment variable:      Environment Variables.
-                                                             (line  577)
+                                                             (line  578)
 * GREP_OPTIONS environment variable:     Environment Variables.
-                                                             (line  553)
+                                                             (line  554)
 * group separator:                       Context Line Control.
-                                                             (line  346)
+                                                             (line  347)
 * group separator <1>:                   Context Line Control.
-                                                             (line  350)
+                                                             (line  351)
 * hexadecimal digits:                    Character Classes and Bracket Expressions.
-                                                             (line  896)
+                                                             (line  898)
 * highlight markers:                     Environment Variables.
-                                                             (line  566)
+                                                             (line  567)
 * highlight markers <1>:                 Environment Variables.
-                                                             (line  577)
+                                                             (line  578)
 * highlight, color, colour:              General Output Control.
                                                              (line  167)
 * include files:                         File and Directory Selection.
-                                                             (line  468)
-* interval specifications:               Basic vs Extended.  (line 1003)
+                                                             (line  469)
+* interval specifications:               Basic vs Extended.  (line 1005)
 * invert matching:                       Matching Control.   (line  136)
 * LANG environment variable:             Environment Variables.
-                                                             (line  517)
+                                                             (line  518)
 * LANG environment variable <1>:         Environment Variables.
-                                                             (line  669)
+                                                             (line  670)
 * LANG environment variable <2>:         Environment Variables.
-                                                             (line  676)
+                                                             (line  677)
 * LANG environment variable <3>:         Environment Variables.
-                                                             (line  687)
+                                                             (line  688)
 * LANGUAGE environment variable:         Environment Variables.
-                                                             (line  517)
+                                                             (line  518)
 * LANGUAGE environment variable <1>:     Environment Variables.
-                                                             (line  687)
+                                                             (line  688)
 * language of messages:                  Environment Variables.
-                                                             (line  687)
+                                                             (line  688)
 * LC_ALL environment variable:           Environment Variables.
-                                                             (line  517)
+                                                             (line  518)
 * LC_ALL environment variable <1>:       Environment Variables.
-                                                             (line  669)
+                                                             (line  670)
 * LC_ALL environment variable <2>:       Environment Variables.
-                                                             (line  676)
+                                                             (line  677)
 * LC_ALL environment variable <3>:       Environment Variables.
-                                                             (line  687)
+                                                             (line  688)
 * LC_COLLATE environment variable:       Environment Variables.
-                                                             (line  669)
+                                                             (line  670)
 * LC_CTYPE environment variable:         Environment Variables.
-                                                             (line  676)
+                                                             (line  677)
 * LC_MESSAGES environment variable:      Environment Variables.
-                                                             (line  517)
+                                                             (line  518)
 * LC_MESSAGES environment variable <1>:  Environment Variables.
-                                                             (line  687)
-* line buffering:                        Other Options.      (line  488)
+                                                             (line  688)
+* line buffering:                        Other Options.      (line  489)
 * line numbering:                        Output Line Prefix Control.
-                                                             (line  288)
+                                                             (line  290)
 * ln GREP_COLORS capability:             Environment Variables.
-                                                             (line  637)
+                                                             (line  638)
 * lower character class:                 Character Classes and Bracket Expressions.
-                                                             (line  875)
+                                                             (line  877)
 * lower-case letters:                    Character Classes and Bracket Expressions.
-                                                             (line  875)
+                                                             (line  877)
 * match expression at most M times:      Fundamental Structure.
-                                                             (line  804)
+                                                             (line  806)
 * match expression at most once:         Fundamental Structure.
-                                                             (line  789)
+                                                             (line  791)
 * match expression from N to M times:    Fundamental Structure.
-                                                             (line  808)
+                                                             (line  810)
 * match expression N or more times:      Fundamental Structure.
-                                                             (line  801)
+                                                             (line  803)
 * match expression N times:              Fundamental Structure.
-                                                             (line  798)
+                                                             (line  800)
 * match expression one or more times:    Fundamental Structure.
-                                                             (line  795)
+                                                             (line  797)
 * match expression zero or more times:   Fundamental Structure.
-                                                             (line  792)
+                                                             (line  794)
 * match the whole line:                  Matching Control.   (line  151)
-* matching basic regular expressions:    grep Programs.      (line  731)
-* matching extended regular expressions: grep Programs.      (line  736)
-* matching fixed strings:                grep Programs.      (line  741)
+* matching basic regular expressions:    grep Programs.      (line  732)
+* matching extended regular expressions: grep Programs.      (line  737)
+* matching fixed strings:                grep Programs.      (line  742)
 * matching Perl-compatible regular expressions: grep Programs.
-                                                             (line  747)
+                                                             (line  748)
 * matching whole words:                  Matching Control.   (line  141)
 * max-count:                             General Output Control.
                                                              (line  195)
 * mc GREP_COLORS capability:             Environment Variables.
-                                                             (line  624)
+                                                             (line  625)
 * message language:                      Environment Variables.
-                                                             (line  687)
+                                                             (line  688)
 * ms GREP_COLORS capability:             Environment Variables.
-                                                             (line  616)
-* MS-DOS/MS-Windows binary files:        Other Options.      (line  493)
+                                                             (line  617)
+* MS-DOS/MS-Windows binary files:        Other Options.      (line  494)
 * MS-DOS/MS-Windows byte offsets:        Output Line Prefix Control.
-                                                             (line  303)
+                                                             (line  304)
 * mt GREP_COLORS capability:             Environment Variables.
-                                                             (line  608)
+                                                             (line  609)
 * names of matching files:               General Output Control.
                                                              (line  188)
 * national language support:             Environment Variables.
-                                                             (line  669)
+                                                             (line  670)
 * national language support <1>:         Environment Variables.
-                                                             (line  687)
+                                                             (line  688)
 * ne GREP_COLORS capability:             Environment Variables.
-                                                             (line  654)
+                                                             (line  655)
 * NLS:                                   Environment Variables.
-                                                             (line  669)
+                                                             (line  670)
 * no filename prefix:                    Output Line Prefix Control.
-                                                             (line  275)
+                                                             (line  277)
 * numeric characters:                    Character Classes and Bracket Expressions.
-                                                             (line  869)
+                                                             (line  871)
 * only matching:                         General Output Control.
                                                              (line  227)
-* palindromes:                           Usage.              (line 1151)
+* palindromes:                           Usage.              (line 1153)
 * pattern from file:                     Matching Control.   (line  108)
 * pattern list:                          Matching Control.   (line  102)
 * period:                                Fundamental Structure.
-                                                             (line  786)
+                                                             (line  788)
 * plus sign:                             Fundamental Structure.
-                                                             (line  795)
+                                                             (line  797)
 * POSIXLY_CORRECT environment variable:  Environment Variables.
-                                                             (line  692)
+                                                             (line  693)
 * print character class:                 Character Classes and Bracket Expressions.
-                                                             (line  879)
+                                                             (line  881)
 * print non-matching lines:              Matching Control.   (line  136)
 * printable characters:                  Character Classes and Bracket Expressions.
-                                                             (line  879)
+                                                             (line  881)
 * punct character class:                 Character Classes and Bracket Expressions.
-                                                             (line  882)
+                                                             (line  884)
 * punctuation characters:                Character Classes and Bracket Expressions.
-                                                             (line  882)
+                                                             (line  884)
 * question mark:                         Fundamental Structure.
-                                                             (line  789)
+                                                             (line  791)
 * quiet, silent:                         General Output Control.
-                                                             (line  233)
+                                                             (line  235)
 * range expression:                      Character Classes and Bracket Expressions.
-                                                             (line  834)
+                                                             (line  836)
 * recursive search:                      File and Directory Selection.
-                                                             (line  473)
+                                                             (line  474)
 * recursive search <1>:                  File and Directory Selection.
-                                                             (line  481)
+                                                             (line  482)
 * regular expressions:                   Regular Expressions.
-                                                             (line  760)
-* return status:                         Exit Status.        (line  713)
+                                                             (line  762)
+* return status:                         Exit Status.        (line  714)
 * rv GREP_COLORS capability:             Environment Variables.
-                                                             (line  602)
+                                                             (line  603)
 * searching directory trees:             File and Directory Selection.
-                                                             (line  445)
+                                                             (line  446)
 * searching directory trees <1>:         File and Directory Selection.
-                                                             (line  454)
+                                                             (line  455)
 * searching directory trees <2>:         File and Directory Selection.
-                                                             (line  468)
+                                                             (line  469)
 * searching directory trees <3>:         File and Directory Selection.
-                                                             (line  473)
+                                                             (line  474)
 * searching directory trees <4>:         File and Directory Selection.
-                                                             (line  481)
+                                                             (line  482)
 * searching for a pattern:               Introduction.       (line   48)
 * sl GREP_COLORS capability:             Environment Variables.
-                                                             (line  585)
+                                                             (line  586)
 * space character class:                 Character Classes and Bracket Expressions.
-                                                             (line  887)
+                                                             (line  889)
 * space characters:                      Character Classes and Bracket Expressions.
-                                                             (line  887)
+                                                             (line  889)
 * subexpression:                         Back-references and Subexpressions.
-                                                             (line  987)
+                                                             (line  989)
 * suppress binary data:                  File and Directory Selection.
-                                                             (line  380)
+                                                             (line  381)
 * suppress error messages:               General Output Control.
-                                                             (line  240)
+                                                             (line  242)
 * symbolic links:                        File and Directory Selection.
-                                                             (line  434)
+                                                             (line  435)
 * symbolic links <1>:                    File and Directory Selection.
-                                                             (line  473)
+                                                             (line  474)
 * symbolic links <2>:                    File and Directory Selection.
-                                                             (line  481)
+                                                             (line  482)
 * tab-aligned content lines:             Output Line Prefix Control.
-                                                             (line  293)
+                                                             (line  295)
 * translation of message language:       Environment Variables.
-                                                             (line  687)
+                                                             (line  688)
 * upper character class:                 Character Classes and Bracket Expressions.
-                                                             (line  892)
+                                                             (line  894)
 * upper-case letters:                    Character Classes and Bracket Expressions.
-                                                             (line  892)
+                                                             (line  894)
 * usage summary, printing:               Generic Program Information.
                                                              (line   89)
-* usage, examples:                       Usage.              (line 1018)
-* using grep, Q&A:                       Usage.              (line 1029)
-* variants of grep:                      grep Programs.      (line  722)
+* usage, examples:                       Usage.              (line 1020)
+* using grep, Q&A:                       Usage.              (line 1031)
+* variants of grep:                      grep Programs.      (line  723)
 * version, printing:                     Generic Program Information.
                                                              (line   94)
 * whitespace characters:                 Character Classes and Bracket Expressions.
-                                                             (line  887)
+                                                             (line  889)
 * with filename prefix:                  Output Line Prefix Control.
-                                                             (line  270)
+                                                             (line  272)
 * xdigit character class:                Character Classes and Bracket Expressions.
-                                                             (line  896)
+                                                             (line  898)
 * xdigit class:                          Character Classes and Bracket Expressions.
-                                                             (line  896)
+                                                             (line  898)
 * zero-terminated file names:            Output Line Prefix Control.
-                                                             (line  313)
-* zero-terminated lines:                 Other Options.      (line  506)
+                                                             (line  314)
+* zero-terminated lines:                 Other Options.      (line  507)
 


From MAILER-DAEMON Wed Dec 07 08:11:52 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cEc0m-0001Ai-Hu
	for mharc-grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:52 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34428)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0U-0000qn-FZ
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:38 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0O-0004cG-6i
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:34 -0500
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50528)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0O-0004c6-1u
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:28 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:54895)
	by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.82) (envelope-from <jim@meyering.net>) id 1cEc0N-0007ZD-OC
	for grep-webcvs-logs@gnu.org; Wed, 07 Dec 2016 08:11:27 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0M-0004We-1i
	for grep-webcvs-logs@gnu.org; Wed, 07 Dec 2016 08:11:27 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:54479)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0L-0004WP-UR
	for grep-webcvs-logs@gnu.org; Wed, 07 Dec 2016 08:11:25 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69698)
	id C52B02201B1; Wed,  7 Dec 2016 13:11:25 +0000 (UTC)
To: grep-webcvs-logs@gnu.org
Subject: grep/manual grep.dvi.gz grep.html grep.html.gz ...
Message-Id: <20161207131125.C52B02201B1@vcs.savannah.gnu.org>
Date: Wed,  7 Dec 2016 13:11:25 +0000 (UTC)
From: jim@meyering.net (Jim Meyering)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 07 Dec 2016 13:11:38 -0000

CVSROOT:	/webcvs/grep
Module name:	grep
Changes by:	Jim Meyering <meyering>	16/12/07 13:11:25

Modified files:
	manual         : grep.dvi.gz grep.html grep.html.gz 
	                 grep.html_node.tar.gz grep.info.tar.gz grep.pdf 
	                 grep.texi.tar.gz grep.txt grep.txt.gz 
	                 index.html 
	manual/html_node: Anchoring.html 
	                  Back_002dreferences-and-Subexpressions.html 
	                  Basic-vs-Extended.html 
	                  Character-Classes-and-Bracket-Expressions.html 
	                  Command_002dline-Options.html 
	                  Context-Line-Control.html Copying.html 
	                  Environment-Variables.html Exit-Status.html 
	                  File-and-Directory-Selection.html 
	                  Fundamental-Structure.html 
	                  GNU-Free-Documentation-License.html 
	                  General-Output-Control.html 
	                  Generic-Program-Information.html Index.html 
	                  Introduction.html Invoking.html 
	                  Matching-Control.html Other-Options.html 
	                  Output-Line-Prefix-Control.html 
	                  Regular-Expressions.html Reporting-Bugs.html 
	                  The-Backslash-Character-and-Special-Expressions.html 
	                  Usage.html grep-Programs.html index.html 
	                  invalid_002dbracket_002dexpr.html 

Log message:
	2.27

CVSWeb URLs:
http://web.cvs.savannah.gnu.org/viewcvs/grep/manual/grep.dvi.gz?cvsroot=grep&rev=1.28
http://web.cvs.savannah.gnu.org/viewcvs/grep/manual/grep.html?cvsroot=grep&r1=1.25&r2=1.26
http://web.cvs.savannah.gnu.org/viewcvs/grep/manual/grep.html.gz?cvsroot=grep&rev=1.28
http://web.cvs.savannah.gnu.org/viewcvs/grep/manual/grep.html_node.tar.gz?cvsroot=grep&rev=1.28
http://web.cvs.savannah.gnu.org/viewcvs/grep/manual/grep.info.tar.gz?cvsroot=grep&rev=1.28
http://web.cvs.savannah.gnu.org/viewcvs/grep/manual/grep.pdf?cvsroot=grep&rev=1.28
http://web.cvs.savannah.gnu.org/viewcvs/grep/manual/grep.texi.tar.gz?cvsroot=grep&rev=1.28
http://web.cvs.savannah.gnu.org/viewcvs/grep/manual/grep.txt?cvsroot=grep&r1=1.25&r2=1.26
http://web.cvs.savannah.gnu.org/viewcvs/grep/manual/grep.txt.gz?cvsroot=grep&rev=1.28
http://web.cvs.savannah.gnu.org/viewcvs/grep/manual/index.html?cvsroot=grep&r1=1.25&r2=1.26
http://web.cvs.savannah.gnu.org/viewcvs/grep/manual/html_node/Anchoring.html?cvsroot=grep&r1=1.25&r2=1.26
http://web.cvs.savannah.gnu.org/viewcvs/grep/manual/html_node/Back_002dreferences-and-Subexpressions.html?cvsroot=grep&r1=1.25&r2=1.26
http://web.cvs.savannah.gnu.org/viewcvs/grep/manual/html_node/Basic-vs-Extended.html?cvsroot=grep&r1=1.25&r2=1.26
http://web.cvs.savannah.gnu.org/viewcvs/grep/manual/html_node/Character-Classes-and-Bracket-Expressions.html?cvsroot=grep&r1=1.25&r2=1.26
http://web.cvs.savannah.gnu.org/viewcvs/grep/manual/html_node/Command_002dline-Options.html?cvsroot=grep&r1=1.25&r2=1.26
http://web.cvs.savannah.gnu.org/viewcvs/grep/manual/html_node/Context-Line-Control.html?cvsroot=grep&r1=1.25&r2=1.26
http://web.cvs.savannah.gnu.org/viewcvs/grep/manual/html_node/Copying.html?cvsroot=grep&r1=1.25&r2=1.26
http://web.cvs.savannah.gnu.org/viewcvs/grep/manual/html_node/Environment-Variables.html?cvsroot=grep&r1=1.25&r2=1.26
http://web.cvs.savannah.gnu.org/viewcvs/grep/manual/html_node/Exit-Status.html?cvsroot=grep&r1=1.25&r2=1.26
http://web.cvs.savannah.gnu.org/viewcvs/grep/manual/html_node/File-and-Directory-Selection.html?cvsroot=grep&r1=1.25&r2=1.26
http://web.cvs.savannah.gnu.org/viewcvs/grep/manual/html_node/Fundamental-Structure.html?cvsroot=grep&r1=1.25&r2=1.26
http://web.cvs.savannah.gnu.org/viewcvs/grep/manual/html_node/GNU-Free-Documentation-License.html?cvsroot=grep&r1=1.25&r2=1.26
http://web.cvs.savannah.gnu.org/viewcvs/grep/manual/html_node/General-Output-Control.html?cvsroot=grep&r1=1.25&r2=1.26
http://web.cvs.savannah.gnu.org/viewcvs/grep/manual/html_node/Generic-Program-Information.html?cvsroot=grep&r1=1.25&r2=1.26
http://web.cvs.savannah.gnu.org/viewcvs/grep/manual/html_node/Index.html?cvsroot=grep&r1=1.25&r2=1.26
http://web.cvs.savannah.gnu.org/viewcvs/grep/manual/html_node/Introduction.html?cvsroot=grep&r1=1.25&r2=1.26
http://web.cvs.savannah.gnu.org/viewcvs/grep/manual/html_node/Invoking.html?cvsroot=grep&r1=1.25&r2=1.26
http://web.cvs.savannah.gnu.org/viewcvs/grep/manual/html_node/Matching-Control.html?cvsroot=grep&r1=1.25&r2=1.26
http://web.cvs.savannah.gnu.org/viewcvs/grep/manual/html_node/Other-Options.html?cvsroot=grep&r1=1.25&r2=1.26
http://web.cvs.savannah.gnu.org/viewcvs/grep/manual/html_node/Output-Line-Prefix-Control.html?cvsroot=grep&r1=1.25&r2=1.26
http://web.cvs.savannah.gnu.org/viewcvs/grep/manual/html_node/Regular-Expressions.html?cvsroot=grep&r1=1.25&r2=1.26
http://web.cvs.savannah.gnu.org/viewcvs/grep/manual/html_node/Reporting-Bugs.html?cvsroot=grep&r1=1.25&r2=1.26
http://web.cvs.savannah.gnu.org/viewcvs/grep/manual/html_node/The-Backslash-Character-and-Special-Expressions.html?cvsroot=grep&r1=1.25&r2=1.26
http://web.cvs.savannah.gnu.org/viewcvs/grep/manual/html_node/Usage.html?cvsroot=grep&r1=1.25&r2=1.26
http://web.cvs.savannah.gnu.org/viewcvs/grep/manual/html_node/grep-Programs.html?cvsroot=grep&r1=1.25&r2=1.26
http://web.cvs.savannah.gnu.org/viewcvs/grep/manual/html_node/index.html?cvsroot=grep&r1=1.25&r2=1.26
http://web.cvs.savannah.gnu.org/viewcvs/grep/manual/html_node/invalid_002dbracket_002dexpr.html?cvsroot=grep&r1=1.5&r2=1.6


From MAILER-DAEMON Wed Dec 07 08:11:52 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cEc0m-0001Bm-QP
	for mharc-grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:52 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34521)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0V-0000rf-Tq
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:39 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0R-0004gS-BK
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:35 -0500
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50547)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0R-0004gB-7D
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:31 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:55061)
	by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.82) (envelope-from <jim@meyering.net>) id 1cEc0Q-0007aP-J5
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:30 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0N-0004a0-B7
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:30 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:54526)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0N-0004Zh-7B
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:27 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69698)
	id 27B93220149; Wed,  7 Dec 2016 13:11:27 +0000 (UTC)
To: grep-webcvs-diffs@gnu.org
Subject: Changes to grep/manual/html_node/Index.html,v
Message-Id: <20161207131127.27B93220149@vcs.savannah.gnu.org>
Date: Wed,  7 Dec 2016 13:11:27 +0000 (UTC)
From: jim@meyering.net (Jim Meyering)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 07 Dec 2016 13:11:40 -0000

CVSROOT:	/webcvs/grep
Module name:	grep
Changes by:	Jim Meyering <meyering>	16/12/07 13:11:25

Index: html_node/Index.html
===================================================================
RCS file: /webcvs/grep/grep/manual/html_node/Index.html,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- html_node/Index.html	3 Oct 2016 02:37:09 -0000	1.25
+++ html_node/Index.html	7 Dec 2016 13:11:22 -0000	1.26
@@ -13,10 +13,10 @@
 "GNU Free Documentation License". -->
 <!-- Created by GNU Texinfo 6.3, http://www.gnu.org/software/texinfo/ -->
 <head>
-<title>GNU Grep 2.26: Index</title>
+<title>GNU Grep 2.27: Index</title>
 
-<meta name="description" content="GNU Grep 2.26: Index">
-<meta name="keywords" content="GNU Grep 2.26: Index">
+<meta name="description" content="GNU Grep 2.27: Index">
+<meta name="keywords" content="GNU Grep 2.27: Index">
 <meta name="resource-type" content="document">
 <meta name="distribution" content="global">
 <meta name="Generator" content="makeinfo">


From MAILER-DAEMON Wed Dec 07 08:11:53 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cEc0m-0001CF-Um
	for mharc-grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:53 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34577)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0W-0000rq-Uo
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:44 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0S-0004iK-L2
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:36 -0500
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50558)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0S-0004i6-Hv
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:32 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:55154)
	by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.82) (envelope-from <jim@meyering.net>) id 1cEc0S-0007bI-3L
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:32 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0N-0004bQ-RQ
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:31 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:54488)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0N-0004Wa-MJ
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:27 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69698)
	id A0FBE220149; Wed,  7 Dec 2016 13:11:27 +0000 (UTC)
To: grep-webcvs-diffs@gnu.org
Subject: Changes to grep/manual/html_node/Usage.html,v
Message-Id: <20161207131127.A0FBE220149@vcs.savannah.gnu.org>
Date: Wed,  7 Dec 2016 13:11:27 +0000 (UTC)
From: jim@meyering.net (Jim Meyering)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 07 Dec 2016 13:11:45 -0000

CVSROOT:	/webcvs/grep
Module name:	grep
Changes by:	Jim Meyering <meyering>	16/12/07 13:11:25

Index: html_node/Usage.html
===================================================================
RCS file: /webcvs/grep/grep/manual/html_node/Usage.html,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- html_node/Usage.html	3 Oct 2016 02:37:09 -0000	1.25
+++ html_node/Usage.html	7 Dec 2016 13:11:22 -0000	1.26
@@ -13,10 +13,10 @@
 "GNU Free Documentation License". -->
 <!-- Created by GNU Texinfo 6.3, http://www.gnu.org/software/texinfo/ -->
 <head>
-<title>GNU Grep 2.26: Usage</title>
+<title>GNU Grep 2.27: Usage</title>
 
-<meta name="description" content="GNU Grep 2.26: Usage">
-<meta name="keywords" content="GNU Grep 2.26: Usage">
+<meta name="description" content="GNU Grep 2.27: Usage">
+<meta name="keywords" content="GNU Grep 2.27: Usage">
 <meta name="resource-type" content="document">
 <meta name="distribution" content="global">
 <meta name="Generator" content="makeinfo">
@@ -295,7 +295,7 @@
 match newlines in the way you might expect.
 </p>
 <p>With the GNU <code>grep</code> option <samp>-z</samp> (<samp>--null-data</samp>), each
-input &ldquo;line&rdquo; is terminated by a null byte; see <a href="Other-Options.html#Other-Options">Other Options</a>.  Thus,
+input and output &ldquo;line&rdquo; is null-terminated; see <a href="Other-Options.html#Other-Options">Other Options</a>.  Thus,
 you can match newlines in the input, but typically if there is a match
 the entire input is output, so this usage is often combined with
 output-suppressing options like <samp>-q</samp>, e.g.:


From MAILER-DAEMON Wed Dec 07 08:11:45 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cEc0e-0000yQ-T8
	for mharc-grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:44 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34534)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0W-0000rl-63
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:40 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0R-0004hL-PE
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:36 -0500
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50552)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0R-0004h2-Ka
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:31 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:55094)
	by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.82) (envelope-from <jim@meyering.net>) id 1cEc0R-0007aZ-56
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:31 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0N-0004an-MY
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:30 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:54533)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0N-0004aE-GC
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:27 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69698)
	id 616E32201B4; Wed,  7 Dec 2016 13:11:27 +0000 (UTC)
To: grep-webcvs-diffs@gnu.org
Subject: Changes to grep/manual/html_node/Other-Options.html,v
Message-Id: <20161207131127.616E32201B4@vcs.savannah.gnu.org>
Date: Wed,  7 Dec 2016 13:11:27 +0000 (UTC)
From: jim@meyering.net (Jim Meyering)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 07 Dec 2016 13:11:40 -0000

CVSROOT:	/webcvs/grep
Module name:	grep
Changes by:	Jim Meyering <meyering>	16/12/07 13:11:25

Index: html_node/Other-Options.html
===================================================================
RCS file: /webcvs/grep/grep/manual/html_node/Other-Options.html,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- html_node/Other-Options.html	3 Oct 2016 02:37:09 -0000	1.25
+++ html_node/Other-Options.html	7 Dec 2016 13:11:22 -0000	1.26
@@ -13,10 +13,10 @@
 "GNU Free Documentation License". -->
 <!-- Created by GNU Texinfo 6.3, http://www.gnu.org/software/texinfo/ -->
 <head>
-<title>GNU Grep 2.26: Other Options</title>
+<title>GNU Grep 2.27: Other Options</title>
 
-<meta name="description" content="GNU Grep 2.26: Other Options">
-<meta name="keywords" content="GNU Grep 2.26: Other Options">
+<meta name="description" content="GNU Grep 2.27: Other Options">
+<meta name="keywords" content="GNU Grep 2.27: Other Options">
 <meta name="resource-type" content="document">
 <meta name="distribution" content="global">
 <meta name="Generator" content="makeinfo">


From MAILER-DAEMON Wed Dec 07 08:11:54 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cEc0n-0001Ep-V9
	for mharc-grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:53 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34548)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0W-0000rp-EU
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:40 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0S-0004hw-8c
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:36 -0500
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50555)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0S-0004hq-5f
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:32 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:55133)
	by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.82) (envelope-from <jim@meyering.net>) id 1cEc0R-0007b7-Np
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:31 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0N-0004bc-Sl
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:31 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:54540)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0N-0004as-MC
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:27 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69698)
	id 94F182201B4; Wed,  7 Dec 2016 13:11:27 +0000 (UTC)
To: grep-webcvs-diffs@gnu.org
Subject: Changes to
	grep/manual/html_node/The-Backslash-Character-and-Special-Expressions.html,
	v
Message-Id: <20161207131127.94F182201B4@vcs.savannah.gnu.org>
Date: Wed,  7 Dec 2016 13:11:27 +0000 (UTC)
From: jim@meyering.net (Jim Meyering)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 07 Dec 2016 13:11:41 -0000

CVSROOT:	/webcvs/grep
Module name:	grep
Changes by:	Jim Meyering <meyering>	16/12/07 13:11:25

Index: html_node/The-Backslash-Character-and-Special-Expressions.html
===================================================================
RCS file: /webcvs/grep/grep/manual/html_node/The-Backslash-Character-and-Special-Expressions.html,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- html_node/The-Backslash-Character-and-Special-Expressions.html	3 Oct 2016 02:37:09 -0000	1.25
+++ html_node/The-Backslash-Character-and-Special-Expressions.html	7 Dec 2016 13:11:22 -0000	1.26
@@ -13,10 +13,10 @@
 "GNU Free Documentation License". -->
 <!-- Created by GNU Texinfo 6.3, http://www.gnu.org/software/texinfo/ -->
 <head>
-<title>GNU Grep 2.26: The Backslash Character and Special Expressions</title>
+<title>GNU Grep 2.27: The Backslash Character and Special Expressions</title>
 
-<meta name="description" content="GNU Grep 2.26: The Backslash Character and Special Expressions">
-<meta name="keywords" content="GNU Grep 2.26: The Backslash Character and Special Expressions">
+<meta name="description" content="GNU Grep 2.27: The Backslash Character and Special Expressions">
+<meta name="keywords" content="GNU Grep 2.27: The Backslash Character and Special Expressions">
 <meta name="resource-type" content="document">
 <meta name="distribution" content="global">
 <meta name="Generator" content="makeinfo">


From MAILER-DAEMON Wed Dec 07 08:11:54 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cEc0o-0001F0-50
	for mharc-grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:54 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34432)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0U-0000qq-FM
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:44 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0N-0004b5-Oy
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:34 -0500
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50527)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0N-0004aT-I2
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:27 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:54868)
	by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.82) (envelope-from <jim@meyering.net>) id 1cEc0N-0007Z8-8P
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:27 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0M-0004Wg-1j
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:26 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:54482)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0L-0004WQ-Ub
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:25 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69698)
	id D681B220149; Wed,  7 Dec 2016 13:11:25 +0000 (UTC)
To: grep-webcvs-diffs@gnu.org
Subject: Changes to grep/manual/grep.dvi.gz,v
Message-Id: <20161207131125.D681B220149@vcs.savannah.gnu.org>
Date: Wed,  7 Dec 2016 13:11:25 +0000 (UTC)
From: jim@meyering.net (Jim Meyering)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 07 Dec 2016 13:11:45 -0000

CVSROOT:	/webcvs/grep
Module name:	grep
Changes by:	Jim Meyering <meyering>	16/12/07 13:11:25

Index: grep.dvi.gz
===================================================================
RCS file: /webcvs/grep/grep/manual/grep.dvi.gz,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -b -r1.27 -r1.28
Binary files /tmp/cvsp8h8y4 and /tmp/cvsrdkhrs differ


From MAILER-DAEMON Wed Dec 07 08:11:54 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cEc0o-0001FN-9t
	for mharc-grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:54 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34595)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0X-0000sR-Dq
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:44 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0S-0004ij-QK
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:37 -0500
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50560)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0S-0004ie-NC
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:32 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:55169)
	by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.82) (envelope-from <jim@meyering.net>) id 1cEc0S-0007bO-Dp
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:32 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0M-0004Ya-Q2
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:32 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:54510)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0M-0004YJ-MX
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:26 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69698)
	id 9BDBF2201B1; Wed,  7 Dec 2016 13:11:26 +0000 (UTC)
To: grep-webcvs-diffs@gnu.org
Subject: Changes to grep/manual/html_node/Context-Line-Control.html,v
Message-Id: <20161207131126.9BDBF2201B1@vcs.savannah.gnu.org>
Date: Wed,  7 Dec 2016 13:11:26 +0000 (UTC)
From: jim@meyering.net (Jim Meyering)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 07 Dec 2016 13:11:45 -0000

CVSROOT:	/webcvs/grep
Module name:	grep
Changes by:	Jim Meyering <meyering>	16/12/07 13:11:25

Index: html_node/Context-Line-Control.html
===================================================================
RCS file: /webcvs/grep/grep/manual/html_node/Context-Line-Control.html,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- html_node/Context-Line-Control.html	3 Oct 2016 02:37:09 -0000	1.25
+++ html_node/Context-Line-Control.html	7 Dec 2016 13:11:22 -0000	1.26
@@ -13,10 +13,10 @@
 "GNU Free Documentation License". -->
 <!-- Created by GNU Texinfo 6.3, http://www.gnu.org/software/texinfo/ -->
 <head>
-<title>GNU Grep 2.26: Context Line Control</title>
+<title>GNU Grep 2.27: Context Line Control</title>
 
-<meta name="description" content="GNU Grep 2.26: Context Line Control">
-<meta name="keywords" content="GNU Grep 2.26: Context Line Control">
+<meta name="description" content="GNU Grep 2.27: Context Line Control">
+<meta name="keywords" content="GNU Grep 2.27: Context Line Control">
 <meta name="resource-type" content="document">
 <meta name="distribution" content="global">
 <meta name="Generator" content="makeinfo">


From MAILER-DAEMON Wed Dec 07 08:11:54 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cEc0o-0001Ff-GG
	for mharc-grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:54 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34531)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0W-0000rk-56
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:39 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0R-0004hQ-QR
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:36 -0500
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50551)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0R-0004h1-KR
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:31 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:55092)
	by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.82) (envelope-from <jim@meyering.net>) id 1cEc0R-0007aY-4p
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:31 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0N-0004aN-HT
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:30 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:54488)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0N-0004Wa-Aj
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:27 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69698)
	id 4ABA1220149; Wed,  7 Dec 2016 13:11:27 +0000 (UTC)
To: grep-webcvs-diffs@gnu.org
Subject: Changes to grep/manual/html_node/Matching-Control.html,v
Message-Id: <20161207131127.4ABA1220149@vcs.savannah.gnu.org>
Date: Wed,  7 Dec 2016 13:11:27 +0000 (UTC)
From: jim@meyering.net (Jim Meyering)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 07 Dec 2016 13:11:40 -0000

CVSROOT:	/webcvs/grep
Module name:	grep
Changes by:	Jim Meyering <meyering>	16/12/07 13:11:25

Index: html_node/Matching-Control.html
===================================================================
RCS file: /webcvs/grep/grep/manual/html_node/Matching-Control.html,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- html_node/Matching-Control.html	3 Oct 2016 02:37:09 -0000	1.25
+++ html_node/Matching-Control.html	7 Dec 2016 13:11:22 -0000	1.26
@@ -13,10 +13,10 @@
 "GNU Free Documentation License". -->
 <!-- Created by GNU Texinfo 6.3, http://www.gnu.org/software/texinfo/ -->
 <head>
-<title>GNU Grep 2.26: Matching Control</title>
+<title>GNU Grep 2.27: Matching Control</title>
 
-<meta name="description" content="GNU Grep 2.26: Matching Control">
-<meta name="keywords" content="GNU Grep 2.26: Matching Control">
+<meta name="description" content="GNU Grep 2.27: Matching Control">
+<meta name="keywords" content="GNU Grep 2.27: Matching Control">
 <meta name="resource-type" content="document">
 <meta name="distribution" content="global">
 <meta name="Generator" content="makeinfo">


From MAILER-DAEMON Wed Dec 07 08:11:55 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cEc0o-0001Fz-Lk
	for mharc-grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:54 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34535)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0W-0000rm-6Q
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:40 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0R-0004gb-CS
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:36 -0500
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50548)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0R-0004gI-9J
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:31 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:55062)
	by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.82) (envelope-from <jim@meyering.net>) id 1cEc0Q-0007aQ-KF
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:30 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0N-0004ZV-52
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:30 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:54521)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0N-0004ZK-1d
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:27 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69698)
	id F14F32201B1; Wed,  7 Dec 2016 13:11:26 +0000 (UTC)
To: grep-webcvs-diffs@gnu.org
Subject: Changes to grep/manual/html_node/GNU-Free-Documentation-License.html,
	v
Message-Id: <20161207131126.F14F32201B1@vcs.savannah.gnu.org>
Date: Wed,  7 Dec 2016 13:11:26 +0000 (UTC)
From: jim@meyering.net (Jim Meyering)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 07 Dec 2016 13:11:40 -0000

CVSROOT:	/webcvs/grep
Module name:	grep
Changes by:	Jim Meyering <meyering>	16/12/07 13:11:25

Index: html_node/GNU-Free-Documentation-License.html
===================================================================
RCS file: /webcvs/grep/grep/manual/html_node/GNU-Free-Documentation-License.html,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- html_node/GNU-Free-Documentation-License.html	3 Oct 2016 02:37:09 -0000	1.25
+++ html_node/GNU-Free-Documentation-License.html	7 Dec 2016 13:11:22 -0000	1.26
@@ -13,10 +13,10 @@
 "GNU Free Documentation License". -->
 <!-- Created by GNU Texinfo 6.3, http://www.gnu.org/software/texinfo/ -->
 <head>
-<title>GNU Grep 2.26: GNU Free Documentation License</title>
+<title>GNU Grep 2.27: GNU Free Documentation License</title>
 
-<meta name="description" content="GNU Grep 2.26: GNU Free Documentation License">
-<meta name="keywords" content="GNU Grep 2.26: GNU Free Documentation License">
+<meta name="description" content="GNU Grep 2.27: GNU Free Documentation License">
+<meta name="keywords" content="GNU Grep 2.27: GNU Free Documentation License">
 <meta name="resource-type" content="document">
 <meta name="distribution" content="global">
 <meta name="Generator" content="makeinfo">


From MAILER-DAEMON Wed Dec 07 08:11:55 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cEc0o-0001GM-Vj
	for mharc-grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:55 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34522)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0V-0000rg-UK
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:44 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0R-0004gM-BA
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:35 -0500
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50545)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0R-0004g9-6X
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:31 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:55059)
	by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.82) (envelope-from <jim@meyering.net>) id 1cEc0Q-0007aN-JM
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:30 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0N-0004Zi-7V
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:30 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:54523)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0N-0004ZO-3q
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:27 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69698)
	id 0D0D52201B4; Wed,  7 Dec 2016 13:11:27 +0000 (UTC)
To: grep-webcvs-diffs@gnu.org
Subject: Changes to grep/manual/html_node/General-Output-Control.html,v
Message-Id: <20161207131127.0D0D52201B4@vcs.savannah.gnu.org>
Date: Wed,  7 Dec 2016 13:11:27 +0000 (UTC)
From: jim@meyering.net (Jim Meyering)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 07 Dec 2016 13:11:45 -0000

CVSROOT:	/webcvs/grep
Module name:	grep
Changes by:	Jim Meyering <meyering>	16/12/07 13:11:25

Index: html_node/General-Output-Control.html
===================================================================
RCS file: /webcvs/grep/grep/manual/html_node/General-Output-Control.html,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- html_node/General-Output-Control.html	3 Oct 2016 02:37:09 -0000	1.25
+++ html_node/General-Output-Control.html	7 Dec 2016 13:11:22 -0000	1.26
@@ -13,10 +13,10 @@
 "GNU Free Documentation License". -->
 <!-- Created by GNU Texinfo 6.3, http://www.gnu.org/software/texinfo/ -->
 <head>
-<title>GNU Grep 2.26: General Output Control</title>
+<title>GNU Grep 2.27: General Output Control</title>
 
-<meta name="description" content="GNU Grep 2.26: General Output Control">
-<meta name="keywords" content="GNU Grep 2.26: General Output Control">
+<meta name="description" content="GNU Grep 2.27: General Output Control">
+<meta name="keywords" content="GNU Grep 2.27: General Output Control">
 <meta name="resource-type" content="document">
 <meta name="distribution" content="global">
 <meta name="Generator" content="makeinfo">
@@ -176,6 +176,8 @@
 <a name="index-only-matching"></a>
 <p>Print only the matched (non-empty) parts of matching lines,
 with each such part on a separate output line.
+Output lines use the same delimiters as input, and delimiters are null
+bytes if <samp>-z</samp> (<samp>--null-data</samp>) is also used (see <a href="Other-Options.html#Other-Options">Other Options</a>).
 </p>
 </dd>
 <dt><samp>-q</samp></dt>


From MAILER-DAEMON Wed Dec 07 08:11:55 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cEc0p-0001Gt-63
	for mharc-grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:55 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34735)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0a-0000wB-J3
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:44 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0R-0004hV-QT
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:40 -0500
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50553)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0R-0004h3-L5
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:31 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:55096)
	by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.82) (envelope-from <jim@meyering.net>) id 1cEc0R-0007ab-5o
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:31 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0N-0004av-OI
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:30 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:54487)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0N-0004Wb-HG
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:27 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69698)
	id 7AACB2201B8; Wed,  7 Dec 2016 13:11:27 +0000 (UTC)
To: grep-webcvs-diffs@gnu.org
Subject: Changes to grep/manual/html_node/Regular-Expressions.html,v
Message-Id: <20161207131127.7AACB2201B8@vcs.savannah.gnu.org>
Date: Wed,  7 Dec 2016 13:11:27 +0000 (UTC)
From: jim@meyering.net (Jim Meyering)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 07 Dec 2016 13:11:45 -0000

CVSROOT:	/webcvs/grep
Module name:	grep
Changes by:	Jim Meyering <meyering>	16/12/07 13:11:25

Index: html_node/Regular-Expressions.html
===================================================================
RCS file: /webcvs/grep/grep/manual/html_node/Regular-Expressions.html,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- html_node/Regular-Expressions.html	3 Oct 2016 02:37:09 -0000	1.25
+++ html_node/Regular-Expressions.html	7 Dec 2016 13:11:22 -0000	1.26
@@ -13,10 +13,10 @@
 "GNU Free Documentation License". -->
 <!-- Created by GNU Texinfo 6.3, http://www.gnu.org/software/texinfo/ -->
 <head>
-<title>GNU Grep 2.26: Regular Expressions</title>
+<title>GNU Grep 2.27: Regular Expressions</title>
 
-<meta name="description" content="GNU Grep 2.26: Regular Expressions">
-<meta name="keywords" content="GNU Grep 2.26: Regular Expressions">
+<meta name="description" content="GNU Grep 2.27: Regular Expressions">
+<meta name="keywords" content="GNU Grep 2.27: Regular Expressions">
 <meta name="resource-type" content="document">
 <meta name="distribution" content="global">
 <meta name="Generator" content="makeinfo">


From MAILER-DAEMON Wed Dec 07 08:11:55 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cEc0p-0001HC-CE
	for mharc-grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:55 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34586)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0X-0000rv-2r
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:44 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0O-0004cn-MV
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:36 -0500
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50530)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0O-0004cf-IL
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:28 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:54920)
	by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.82) (envelope-from <jim@meyering.net>) id 1cEc0O-0007ZL-6O
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:28 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0M-0004Wx-44
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:27 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:54487)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0M-0004Wb-1g
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:26 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69698)
	id E1C712201B8; Wed,  7 Dec 2016 13:11:25 +0000 (UTC)
To: grep-webcvs-diffs@gnu.org
Subject: Changes to grep/manual/grep.html.gz,v
Message-Id: <20161207131125.E1C712201B8@vcs.savannah.gnu.org>
Date: Wed,  7 Dec 2016 13:11:25 +0000 (UTC)
From: jim@meyering.net (Jim Meyering)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 07 Dec 2016 13:11:45 -0000

CVSROOT:	/webcvs/grep
Module name:	grep
Changes by:	Jim Meyering <meyering>	16/12/07 13:11:25

Index: grep.html.gz
===================================================================
RCS file: /webcvs/grep/grep/manual/grep.html.gz,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -b -r1.27 -r1.28
Binary files /tmp/cvsWA8jt6 and /tmp/cvs6WE5ou differ


From MAILER-DAEMON Wed Dec 07 08:11:55 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cEc0p-0001HM-IB
	for mharc-grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:55 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34591)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0X-0000s5-8T
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:45 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0S-0004iP-MU
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:37 -0500
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50556)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0S-0004i4-I4
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:32 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:55150)
	by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.82) (envelope-from <jim@meyering.net>) id 1cEc0S-0007bE-27
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:32 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0N-0004bV-Rn
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:31 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:54538)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0N-0004ai-Kv
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:27 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69698)
	id 87CCC2201B1; Wed,  7 Dec 2016 13:11:27 +0000 (UTC)
To: grep-webcvs-diffs@gnu.org
Subject: Changes to grep/manual/html_node/Reporting-Bugs.html,v
Message-Id: <20161207131127.87CCC2201B1@vcs.savannah.gnu.org>
Date: Wed,  7 Dec 2016 13:11:27 +0000 (UTC)
From: jim@meyering.net (Jim Meyering)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 07 Dec 2016 13:11:45 -0000

CVSROOT:	/webcvs/grep
Module name:	grep
Changes by:	Jim Meyering <meyering>	16/12/07 13:11:25

Index: html_node/Reporting-Bugs.html
===================================================================
RCS file: /webcvs/grep/grep/manual/html_node/Reporting-Bugs.html,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- html_node/Reporting-Bugs.html	3 Oct 2016 02:37:09 -0000	1.25
+++ html_node/Reporting-Bugs.html	7 Dec 2016 13:11:22 -0000	1.26
@@ -13,10 +13,10 @@
 "GNU Free Documentation License". -->
 <!-- Created by GNU Texinfo 6.3, http://www.gnu.org/software/texinfo/ -->
 <head>
-<title>GNU Grep 2.26: Reporting Bugs</title>
+<title>GNU Grep 2.27: Reporting Bugs</title>
 
-<meta name="description" content="GNU Grep 2.26: Reporting Bugs">
-<meta name="keywords" content="GNU Grep 2.26: Reporting Bugs">
+<meta name="description" content="GNU Grep 2.27: Reporting Bugs">
+<meta name="keywords" content="GNU Grep 2.27: Reporting Bugs">
 <meta name="resource-type" content="document">
 <meta name="distribution" content="global">
 <meta name="Generator" content="makeinfo">


From MAILER-DAEMON Wed Dec 07 08:11:56 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cEc0p-0001Ho-Og
	for mharc-grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:55 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34650)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0Y-0000td-IF
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:46 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0V-0004kp-3f
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:38 -0500
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50565)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0U-0004kf-Td
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:34 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:55283)
	by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.82) (envelope-from <jim@meyering.net>) id 1cEc0U-0007bv-Dm
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:34 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0N-0004b1-Og
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:34 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:54535)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0N-0004aR-H8
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:27 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69698)
	id 6DFEA2201B1; Wed,  7 Dec 2016 13:11:27 +0000 (UTC)
To: grep-webcvs-diffs@gnu.org
Subject: Changes to grep/manual/html_node/Output-Line-Prefix-Control.html,v
Message-Id: <20161207131127.6DFEA2201B1@vcs.savannah.gnu.org>
Date: Wed,  7 Dec 2016 13:11:27 +0000 (UTC)
From: jim@meyering.net (Jim Meyering)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 07 Dec 2016 13:11:46 -0000

CVSROOT:	/webcvs/grep
Module name:	grep
Changes by:	Jim Meyering <meyering>	16/12/07 13:11:25

Index: html_node/Output-Line-Prefix-Control.html
===================================================================
RCS file: /webcvs/grep/grep/manual/html_node/Output-Line-Prefix-Control.html,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- html_node/Output-Line-Prefix-Control.html	3 Oct 2016 02:37:09 -0000	1.25
+++ html_node/Output-Line-Prefix-Control.html	7 Dec 2016 13:11:22 -0000	1.26
@@ -13,10 +13,10 @@
 "GNU Free Documentation License". -->
 <!-- Created by GNU Texinfo 6.3, http://www.gnu.org/software/texinfo/ -->
 <head>
-<title>GNU Grep 2.26: Output Line Prefix Control</title>
+<title>GNU Grep 2.27: Output Line Prefix Control</title>
 
-<meta name="description" content="GNU Grep 2.26: Output Line Prefix Control">
-<meta name="keywords" content="GNU Grep 2.26: Output Line Prefix Control">
+<meta name="description" content="GNU Grep 2.27: Output Line Prefix Control">
+<meta name="keywords" content="GNU Grep 2.27: Output Line Prefix Control">
 <meta name="resource-type" content="document">
 <meta name="distribution" content="global">
 <meta name="Generator" content="makeinfo">
@@ -139,10 +139,8 @@
 so that the alignment of tabs looks normal.
 This is useful with options that prefix their output to the actual content:
 <samp>-H</samp>, <samp>-n</samp>, and <samp>-b</samp>.
-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)
-to be printed in a minimum-size field width.
+This may also prepend spaces to output line numbers and byte offsets
+so that lines from a single file all start at the same column.
 </p>
 </dd>
 <dt><samp>-u</samp></dt>


From MAILER-DAEMON Wed Dec 07 08:11:57 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cEc0r-0001JB-1h
	for mharc-grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:57 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34804)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0e-0000yN-MK
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:51 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0X-0004nM-DM
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:44 -0500
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50567)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0X-0004nC-7v
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:37 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:55426)
	by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.82) (envelope-from <jim@meyering.net>) id 1cEc0W-0007c6-Tu
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:37 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0O-0004c9-33
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:36 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:54546)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0N-0004bf-Sl
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:27 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69698)
	id C6AB2220149; Wed,  7 Dec 2016 13:11:27 +0000 (UTC)
To: grep-webcvs-diffs@gnu.org
Subject: Changes to grep/manual/html_node/invalid_002dbracket_002dexpr.html,v
Message-Id: <20161207131127.C6AB2220149@vcs.savannah.gnu.org>
Date: Wed,  7 Dec 2016 13:11:27 +0000 (UTC)
From: jim@meyering.net (Jim Meyering)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 07 Dec 2016 13:11:51 -0000

CVSROOT:	/webcvs/grep
Module name:	grep
Changes by:	Jim Meyering <meyering>	16/12/07 13:11:25

Index: html_node/invalid_002dbracket_002dexpr.html
===================================================================
RCS file: /webcvs/grep/grep/manual/html_node/invalid_002dbracket_002dexpr.html,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- html_node/invalid_002dbracket_002dexpr.html	3 Oct 2016 02:37:09 -0000	1.5
+++ html_node/invalid_002dbracket_002dexpr.html	7 Dec 2016 13:11:25 -0000	1.6
@@ -14,10 +14,10 @@
 <!-- Created by GNU Texinfo 6.3, http://www.gnu.org/software/texinfo/ -->
 <!-- This file redirects to the location of a node or anchor -->
 <head>
-<title>GNU Grep 2.26: invalid-bracket-expr</title>
+<title>GNU Grep 2.27: invalid-bracket-expr</title>
 
-<meta name="description" content="GNU Grep 2.26: invalid-bracket-expr">
-<meta name="keywords" content="GNU Grep 2.26: invalid-bracket-expr">
+<meta name="description" content="GNU Grep 2.27: invalid-bracket-expr">
+<meta name="keywords" content="GNU Grep 2.27: invalid-bracket-expr">
 <meta name="resource-type" content="document">
 <meta name="distribution" content="global">
 <meta name="Generator" content="makeinfo">


From MAILER-DAEMON Wed Dec 07 08:11:53 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cEc0n-0001DL-5E
	for mharc-grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:53 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34808)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0f-0000zo-6t
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:50 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0X-0004nb-Io
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:45 -0500
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50568)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0X-0004nQ-DA
	for grep-commit@gnu.org; Wed, 07 Dec 2016 08:11:37 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:55436)
	by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.82) (envelope-from <jim@meyering.net>) id 1cEc0X-0007c7-3m
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:37 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0O-0004c2-1G
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:36 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:54545)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cEc0N-0004bT-Rr
	for grep-webcvs-diffs@gnu.org; Wed, 07 Dec 2016 08:11:27 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69698)
	id BB79F2201B1; Wed,  7 Dec 2016 13:11:27 +0000 (UTC)
To: grep-webcvs-diffs@gnu.org
Subject: Changes to grep/manual/html_node/index.html,v
Message-Id: <20161207131127.BB79F2201B1@vcs.savannah.gnu.org>
Date: Wed,  7 Dec 2016 13:11:27 +0000 (UTC)
From: jim@meyering.net (Jim Meyering)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 07 Dec 2016 13:11:51 -0000

CVSROOT:	/webcvs/grep
Module name:	grep
Changes by:	Jim Meyering <meyering>	16/12/07 13:11:25

Index: html_node/index.html
===================================================================
RCS file: /webcvs/grep/grep/manual/html_node/index.html,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- html_node/index.html	3 Oct 2016 02:37:09 -0000	1.25
+++ html_node/index.html	7 Dec 2016 13:11:22 -0000	1.26
@@ -13,10 +13,10 @@
 "GNU Free Documentation License". -->
 <!-- Created by GNU Texinfo 6.3, http://www.gnu.org/software/texinfo/ -->
 <head>
-<title>GNU Grep 2.26: Top</title>
+<title>GNU Grep 2.27: Top</title>
 
-<meta name="description" content="GNU Grep 2.26: Top">
-<meta name="keywords" content="GNU Grep 2.26: Top">
+<meta name="description" content="GNU Grep 2.27: Top">
+<meta name="keywords" content="GNU Grep 2.27: Top">
 <meta name="resource-type" content="document">
 <meta name="distribution" content="global">
 <meta name="Generator" content="makeinfo">
@@ -59,7 +59,7 @@
 </head>
 
 <body lang="en">
-<h1 class="settitle" align="center">GNU Grep 2.26</h1>
+<h1 class="settitle" align="center">GNU Grep 2.27</h1>
 
 
 
@@ -124,7 +124,7 @@
 
 <p><code>grep</code> prints lines that contain a match for a pattern.
 </p>
-<p>This manual is for version 2.26 of GNU Grep.
+<p>This manual is for version 2.27 of GNU Grep.
 </p>
 <p>This manual is for <code>grep</code>, a pattern matching engine.
 </p>


From MAILER-DAEMON Wed Dec 07 15:20:33 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cEihd-0007hW-I3
	for mharc-grep-commit@gnu.org; Wed, 07 Dec 2016 15:20:33 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:59596)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cEihb-0007hQ-9E
	for grep-commit@gnu.org; Wed, 07 Dec 2016 15:20:32 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cEiha-0006bk-2U
	for grep-commit@gnu.org; Wed, 07 Dec 2016 15:20:31 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:60837)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cEihZ-0006be-Ty
	for grep-commit@gnu.org; Wed, 07 Dec 2016 15:20:30 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69712)
	id B25932201B1; Wed,  7 Dec 2016 20:20:29 +0000 (UTC)
To: grep-commit@gnu.org
Subject: grep branch, master, updated. v2.27-3-ga3721c4
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: c5ddfc699fa1e1da3f490b870292e0b64117aae4
X-Git-Newrev: a3721c43f96beb255c533118bfaba1ddf8d9a6be
Message-Id: <20161207202029.B25932201B1@vcs.savannah.gnu.org>
Date: Wed,  7 Dec 2016 20:20:29 +0000 (UTC)
From: eggert@cs.ucla.edu (Paul Eggert)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.72
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 07 Dec 2016 20:20:32 -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  a3721c43f96beb255c533118bfaba1ddf8d9a6be (commit)
       via  136a8987b003c2cee4c2419e2bf870ff0836f8f9 (commit)
      from  c5ddfc699fa1e1da3f490b870292e0b64117aae4 (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=a3721c43f96beb255c533118bfaba1ddf8d9a6be


commit a3721c43f96beb255c533118bfaba1ddf8d9a6be
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Wed Dec 7 12:20:04 2016 -0800

    grep: simplify finalize_input
    
    * src/grep.c (finalize_input): Simplify without changing behavior.
    It's still a bit of a rat's-nest, but it's a cozier rat's-nest.

diff --git a/src/grep.c b/src/grep.c
index 4538f22..1e910cb 100644
--- a/src/grep.c
+++ b/src/grep.c
@@ -1758,29 +1758,14 @@ drain_input (int fd, struct stat const *st)
 static void
 finalize_input (int fd, struct stat const *st, bool ineof)
 {
-  if (fd != STDIN_FILENO)
-    return;
-
-  if (outleft)
-    {
-      if (ineof)
-        return;
-      if (seek_failed)
-        {
-          if (drain_input (fd, st))
-            return;
-        }
-      else if (0 <= lseek (fd, 0, SEEK_END))
-        return;
-    }
-  else
-    {
-      if (seek_failed || bufoffset == after_last_match
-          || 0 <= lseek (fd, after_last_match, SEEK_SET))
-        return;
-    }
-
-  suppressible_error (errno);
+  if (fd == STDIN_FILENO
+      && (outleft
+          ? (!ineof && (seek_failed
+                        ? ! drain_input (fd, st)
+                        : lseek (fd, 0, SEEK_END) < 0))
+          : (bufoffset != after_last_match && !seek_failed
+             && lseek (fd, after_last_match, SEEK_SET) < 0)))
+    suppressible_error (errno);
 }
 
 static bool

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


commit a3721c43f96beb255c533118bfaba1ddf8d9a6be
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Wed Dec 7 12:20:04 2016 -0800

    grep: simplify finalize_input
    
    * src/grep.c (finalize_input): Simplify without changing behavior.
    It's still a bit of a rat's-nest, but it's a cozier rat's-nest.

diff --git a/src/grep.c b/src/grep.c
index 4538f22..1e910cb 100644
--- a/src/grep.c
+++ b/src/grep.c
@@ -1758,29 +1758,14 @@ drain_input (int fd, struct stat const *st)
 static void
 finalize_input (int fd, struct stat const *st, bool ineof)
 {
-  if (fd != STDIN_FILENO)
-    return;
-
-  if (outleft)
-    {
-      if (ineof)
-        return;
-      if (seek_failed)
-        {
-          if (drain_input (fd, st))
-            return;
-        }
-      else if (0 <= lseek (fd, 0, SEEK_END))
-        return;
-    }
-  else
-    {
-      if (seek_failed || bufoffset == after_last_match
-          || 0 <= lseek (fd, after_last_match, SEEK_SET))
-        return;
-    }
-
-  suppressible_error (errno);
+  if (fd == STDIN_FILENO
+      && (outleft
+          ? (!ineof && (seek_failed
+                        ? ! drain_input (fd, st)
+                        : lseek (fd, 0, SEEK_END) < 0))
+          : (bufoffset != after_last_match && !seek_failed
+             && lseek (fd, after_last_match, SEEK_SET) < 0)))
+    suppressible_error (errno);
 }
 
 static bool

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

Summary of changes:
 NEWS       |    3 ++-
 src/grep.c |   31 ++++++++-----------------------
 2 files changed, 10 insertions(+), 24 deletions(-)


hooks/post-receive
-- 
grep


From MAILER-DAEMON Mon Dec 12 12:51:59 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cGUlb-0006K5-EN
	for mharc-grep-commit@gnu.org; Mon, 12 Dec 2016 12:51:59 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:46490)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cGTYI-0005EU-Qr
	for grep-commit@gnu.org; Mon, 12 Dec 2016 11:34:15 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cGTYC-0004RZ-Mn
	for grep-commit@gnu.org; Mon, 12 Dec 2016 11:34:10 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:35398)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cGTYC-0004RJ-Ho
	for grep-commit@gnu.org; Mon, 12 Dec 2016 11:34:04 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69712)
	id 4BA5D2201BA; Mon, 12 Dec 2016 16:34:04 +0000 (UTC)
To: grep-commit@gnu.org
Subject: grep branch, master, updated. v2.27-4-gca66d6f
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: a3721c43f96beb255c533118bfaba1ddf8d9a6be
X-Git-Newrev: ca66d6f9cc769c3cb6ff3293725b8742840b98fa
Message-Id: <20161212163404.4BA5D2201BA@vcs.savannah.gnu.org>
Date: Mon, 12 Dec 2016 16:34:04 +0000 (UTC)
From: eggert@cs.ucla.edu (Paul Eggert)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.72
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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 2016 16:34:15 -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  ca66d6f9cc769c3cb6ff3293725b8742840b98fa (commit)
      from  a3721c43f96beb255c533118bfaba1ddf8d9a6be (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=ca66d6f9cc769c3cb6ff3293725b8742840b98fa


commit ca66d6f9cc769c3cb6ff3293725b8742840b98fa
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Mon Dec 12 08:31:32 2016 -0800

    grep: work around proc lseek glitch
    
    Problem reported by Andreas Schwab (Bug#25180).
    * NEWS: Document this.
    * src/grep.c (finalize_input): Ignore EINVAL lseek failures.
    * tests/Makefile.am (TESTS): Add proc.
    * tests/proc: New file.

diff --git a/NEWS b/NEWS
index f33001d..aa0483b 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,12 @@ GNU grep NEWS                                    -*- outline -*-
 
 * Noteworthy changes in release ?.? (????-??-??) [?]
 
+** Bug fixes
+
+  grep no longer fails when standard input is a file in the Linux
+  /proc file system and standard output is /dev/null.
+  [bug introduced in grep-2.27]
+
 
 * Noteworthy changes in release 2.27 (2016-12-06) [stable]
 
diff --git a/src/grep.c b/src/grep.c
index 1e910cb..30e0f54 100644
--- a/src/grep.c
+++ b/src/grep.c
@@ -1760,9 +1760,12 @@ finalize_input (int fd, struct stat const *st, bool ineof)
 {
   if (fd == STDIN_FILENO
       && (outleft
-          ? (!ineof && (seek_failed
-                        ? ! drain_input (fd, st)
-                        : lseek (fd, 0, SEEK_END) < 0))
+          ? (!ineof
+             && (seek_failed
+                 || (lseek (fd, 0, SEEK_END) < 0
+                     /* Linux proc file system has EINVAL (Bug#25180).  */
+                     && errno != EINVAL))
+             && ! drain_input (fd, st))
           : (bufoffset != after_last_match && !seek_failed
              && lseek (fd, after_last_match, SEEK_SET) < 0)))
     suppressible_error (errno);
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 3ded7a7..52e2b9e 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -141,6 +141,7 @@ TESTS =						\
   pcre-z					\
   posix-bracket					\
   prefix-of-multibyte				\
+  proc						\
   r-dot						\
   repetition-overflow				\
   reversed-range-endpoints			\
diff --git a/tests/proc b/tests/proc
new file mode 100755
index 0000000..aeb4a50
--- /dev/null
+++ b/tests/proc
@@ -0,0 +1,18 @@
+#! /bin/sh
+# Test the /proc file system if available.
+
+# Copyright 2016 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.
+
+. "${srcdir=.}/init.sh"; path_prepend_ ../src
+
+fail=0
+
+test -r /proc/self/status || skip_ 'No /proc/self/status on this platform.'
+
+grep '^' </proc/self/status >/dev/null || fail=1
+
+Exit $fail

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

Summary of changes:
 NEWS                   |    6 ++++++
 src/grep.c             |    9 ++++++---
 tests/Makefile.am      |    1 +
 tests/{pcre-o => proc} |   11 ++++++-----
 4 files changed, 19 insertions(+), 8 deletions(-)
 copy tests/{pcre-o => proc} (54%)


hooks/post-receive
-- 
grep


From MAILER-DAEMON Tue Dec 13 17:49:10 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cGvsk-00053A-CV
	for mharc-grep-commit@gnu.org; Tue, 13 Dec 2016 17:49:10 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:37215)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cGvsi-0004xq-Cw
	for grep-commit@gnu.org; Tue, 13 Dec 2016 17:49:09 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cGvsh-00062c-5v
	for grep-commit@gnu.org; Tue, 13 Dec 2016 17:49:08 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:51685)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cGvsh-00062W-2e
	for grep-commit@gnu.org; Tue, 13 Dec 2016 17:49:07 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69712)
	id C1B722201BB; Tue, 13 Dec 2016 22:49:06 +0000 (UTC)
To: grep-commit@gnu.org
Subject: grep branch, master, updated. v2.27-5-g4ef9162
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: ca66d6f9cc769c3cb6ff3293725b8742840b98fa
X-Git-Newrev: 4ef91621ab74bbf1ba3d05cc34ee7b059c75074a
Message-Id: <20161213224906.C1B722201BB@vcs.savannah.gnu.org>
Date: Tue, 13 Dec 2016 22:49:06 +0000 (UTC)
From: eggert@cs.ucla.edu (Paul Eggert)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.72
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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: Tue, 13 Dec 2016 22:49:09 -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  4ef91621ab74bbf1ba3d05cc34ee7b059c75074a (commit)
      from  ca66d6f9cc769c3cb6ff3293725b8742840b98fa (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=4ef91621ab74bbf1ba3d05cc34ee7b059c75074a


commit 4ef91621ab74bbf1ba3d05cc34ee7b059c75074a
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Tue Dec 13 22:23:17 2016 +0200

    build: update gnulib submodule to latest
    
    * src/dfasearch.c (GEAcompile): Remove use of flag, RE_ICASE covers it.

diff --git a/gnulib b/gnulib
index ca3ca77..19a1795 160000
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit ca3ca77fc9e497ff5048a9f1ee0d1acc8e050f51
+Subproject commit 19a179507fb5a54a996f5e96ac7c5c41d1bcaad8
diff --git a/src/dfasearch.c b/src/dfasearch.c
index ded9917..24a36cd 100644
--- a/src/dfasearch.c
+++ b/src/dfasearch.c
@@ -121,8 +121,7 @@ GEAcompile (char const *pattern, size_t size, reg_syntax_t syntax_bits)
   if (match_icase)
     syntax_bits |= RE_ICASE;
   re_set_syntax (syntax_bits);
-  int dfaopts = ((match_icase ? DFA_CASE_FOLD : 0)
-                 | (eolbyte ? 0 : DFA_EOL_NUL));
+  int dfaopts = eolbyte ? 0 : DFA_EOL_NUL;
   dfasyntax (dfa, &localeinfo, syntax_bits, dfaopts);
 
   /* For GNU regex, pass the patterns separately to detect errors like

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

Summary of changes:
 gnulib          |    2 +-
 src/dfasearch.c |    3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
grep


From MAILER-DAEMON Tue Dec 13 19:18:19 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cGxH1-0008Pc-N3
	for mharc-grep-commit@gnu.org; Tue, 13 Dec 2016 19:18:19 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:54676)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cGxGz-0008Io-U3
	for grep-commit@gnu.org; Tue, 13 Dec 2016 19:18:18 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cGxGy-00038Q-Ot
	for grep-commit@gnu.org; Tue, 13 Dec 2016 19:18:17 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:52651)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cGxGy-00038L-LV
	for grep-commit@gnu.org; Tue, 13 Dec 2016 19:18:16 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69698)
	id 835562201BB; Wed, 14 Dec 2016 00:18:16 +0000 (UTC)
To: grep-commit@gnu.org
Subject: grep branch, master, updated. v2.27-6-g84d6ae0
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 4ef91621ab74bbf1ba3d05cc34ee7b059c75074a
X-Git-Newrev: 84d6ae06c287eb4b7254fa85d6b771fd8b4dffc4
Message-Id: <20161214001816.835562201BB@vcs.savannah.gnu.org>
Date: Wed, 14 Dec 2016 00:18:16 +0000 (UTC)
From: jim@meyering.net (Jim Meyering)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.72
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 14 Dec 2016 00:18: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  84d6ae06c287eb4b7254fa85d6b771fd8b4dffc4 (commit)
      from  4ef91621ab74bbf1ba3d05cc34ee7b059c75074a (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=84d6ae06c287eb4b7254fa85d6b771fd8b4dffc4


commit 84d6ae06c287eb4b7254fa85d6b771fd8b4dffc4
Author: Jim Meyering <meyering@fb.com>
Date:   Tue Dec 13 16:17:07 2016 -0800

    maint: tell "syntax-check" not to worry about the NEWS update
    
    Whenever we change "old" NEWS, we have to update this checksum.
    Otherwise, a "make syntax-check" test that guards against a class
    of logical merge conflicts will fail.
    * cfg.mk (old_NEWS_hash): Update this hash to accommodate the
    recent clarification of a 2.27 NEWS entry.

diff --git a/cfg.mk b/cfg.mk
index 65f7bd1..aa4ea85 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -55,7 +55,7 @@ export VERBOSE = yes
 # 1127556 9e
 export XZ_OPT = -6e
 
-old_NEWS_hash = e575ffe82bcad4081ae13e157c5f9072
+old_NEWS_hash = d4a1c9c6c0b35de3b2c86b8f7d35b43e
 
 # Many m4 macros names once began with 'jm_'.
 # Make sure that none are inadvertently reintroduced.

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

Summary of changes:
 cfg.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
grep


From MAILER-DAEMON Tue Dec 13 20:59:41 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cGyr7-0007Ig-B2
	for mharc-grep-commit@gnu.org; Tue, 13 Dec 2016 20:59:41 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:47166)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cGyr4-0007Hg-3J
	for grep-commit@gnu.org; Tue, 13 Dec 2016 20:59:39 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cGyr2-00074v-WC
	for grep-commit@gnu.org; Tue, 13 Dec 2016 20:59:38 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:53367)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cGyr2-00074q-SM
	for grep-commit@gnu.org; Tue, 13 Dec 2016 20:59:36 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69698)
	id A59BA2201BB; Wed, 14 Dec 2016 01:59:36 +0000 (UTC)
To: grep-commit@gnu.org
Subject: grep branch, master, updated. v2.27-7-geec6ab3
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 84d6ae06c287eb4b7254fa85d6b771fd8b4dffc4
X-Git-Newrev: eec6ab399159b8c3caec722d956531a4e799a84c
Message-Id: <20161214015936.A59BA2201BB@vcs.savannah.gnu.org>
Date: Wed, 14 Dec 2016 01:59:36 +0000 (UTC)
From: jim@meyering.net (Jim Meyering)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.72
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 14 Dec 2016 01:59:39 -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  eec6ab399159b8c3caec722d956531a4e799a84c (commit)
      from  84d6ae06c287eb4b7254fa85d6b771fd8b4dffc4 (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=eec6ab399159b8c3caec722d956531a4e799a84c


commit eec6ab399159b8c3caec722d956531a4e799a84c
Author: Jim Meyering <meyering@fb.com>
Date:   Mon Dec 5 04:15:24 2016 -0800

    tests: use just-built grep in more places
    
    * cfg.mk (PATH): Prepend $(srcdir)/src, so that we use the just-
    built grep also when running commands like those of "make distcheck".
    This would have avoided the recently-luckily-noticed infloop bug.
    Tested by running this in a just-built directory:
    f=src/grep; printf '%s\n' '#!/bin/sh' 'sleep 9h' > $f; chmod a+x $f
    and then verifying that nearly every "make syntax-check" rule hangs.

diff --git a/cfg.mk b/cfg.mk
index aa4ea85..43205a6 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -14,6 +14,11 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
+# Cause the tool(s) built by this package to be used also when running
+# commands via e.g., "make syntax-check".  Doing this a little sooner
+# would have avoided a grep infloop bug.
+export PATH := $(srcdir)/src:${PATH}
+
 # Used in maint.mk's web-manual rule
 manual_title = GNU Grep: Print lines matching a pattern
 

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

Summary of changes:
 cfg.mk |    5 +++++
 1 file changed, 5 insertions(+)


hooks/post-receive
-- 
grep


From MAILER-DAEMON Mon Dec 19 02:34:51 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cIsTD-0005HW-DU
	for mharc-grep-commit@gnu.org; Mon, 19 Dec 2016 02:34:51 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:44242)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cIsTB-0005HH-9h
	for grep-commit@gnu.org; Mon, 19 Dec 2016 02:34:50 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cIsTA-0007kR-FE
	for grep-commit@gnu.org; Mon, 19 Dec 2016 02:34:49 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:47573)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cIsTA-0007kM-As
	for grep-commit@gnu.org; Mon, 19 Dec 2016 02:34:48 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69712)
	id 0A7AC2201BA; Mon, 19 Dec 2016 07:34:47 +0000 (UTC)
To: grep-commit@gnu.org
Subject: grep branch, master, updated. v2.27-8-gc605327
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: eec6ab399159b8c3caec722d956531a4e799a84c
X-Git-Newrev: c605327101ab2c1ccc9b21fb05e4b496f29bbd44
Message-Id: <20161219073448.0A7AC2201BA@vcs.savannah.gnu.org>
Date: Mon, 19 Dec 2016 07:34:47 +0000 (UTC)
From: eggert@cs.ucla.edu (Paul Eggert)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.72
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 19 Dec 2016 07:34:50 -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  c605327101ab2c1ccc9b21fb05e4b496f29bbd44 (commit)
      from  eec6ab399159b8c3caec722d956531a4e799a84c (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=c605327101ab2c1ccc9b21fb05e4b496f29bbd44


commit c605327101ab2c1ccc9b21fb05e4b496f29bbd44
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Sun Dec 18 23:26:46 2016 -0800

    build: update gnulib submodule to latest

diff --git a/gnulib b/gnulib
index 19a1795..aab627e 160000
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit 19a179507fb5a54a996f5e96ac7c5c41d1bcaad8
+Subproject commit aab627ea89a7a89a5df9e1603340f71ed760a36c

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

Summary of changes:
 gnulib |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
grep


From MAILER-DAEMON Mon Dec 19 02:46:33 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cIseX-00074M-BH
	for mharc-grep-commit@gnu.org; Mon, 19 Dec 2016 02:46:33 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:45912)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cIseV-00073v-FZ
	for grep-commit@gnu.org; Mon, 19 Dec 2016 02:46:32 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cIseU-0003Fy-F7
	for grep-commit@gnu.org; Mon, 19 Dec 2016 02:46:31 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:47634)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cIseU-0003Fp-BN
	for grep-commit@gnu.org; Mon, 19 Dec 2016 02:46:30 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69712)
	id 18AC22201BA; Mon, 19 Dec 2016 07:46:30 +0000 (UTC)
To: grep-commit@gnu.org
Subject: grep branch, master, updated. v2.27-9-g71f02d8
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: c605327101ab2c1ccc9b21fb05e4b496f29bbd44
X-Git-Newrev: 71f02d822ee9a85426e491cdfedb20189866a78e
Message-Id: <20161219074630.18AC22201BA@vcs.savannah.gnu.org>
Date: Mon, 19 Dec 2016 07:46:30 +0000 (UTC)
From: eggert@cs.ucla.edu (Paul Eggert)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.72
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 19 Dec 2016 07:46:32 -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  71f02d822ee9a85426e491cdfedb20189866a78e (commit)
      from  c605327101ab2c1ccc9b21fb05e4b496f29bbd44 (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=71f02d822ee9a85426e491cdfedb20189866a78e


commit 71f02d822ee9a85426e491cdfedb20189866a78e
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Sun Dec 18 23:45:39 2016 -0800

    build: update gnulib submodule to latest

diff --git a/gnulib b/gnulib
index aab627e..b783f1e 160000
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit aab627ea89a7a89a5df9e1603340f71ed760a36c
+Subproject commit b783f1ebd54de36c7459ff1a206e46340e68b727

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

Summary of changes:
 gnulib |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
grep


From MAILER-DAEMON Mon Dec 19 11:33:36 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cJ0sZ-000846-Qs
	for mharc-grep-commit@gnu.org; Mon, 19 Dec 2016 11:33:35 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:57013)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cJ0sW-00081V-RN
	for grep-commit@gnu.org; Mon, 19 Dec 2016 11:33:33 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cJ0sT-0003ON-3d
	for grep-commit@gnu.org; Mon, 19 Dec 2016 11:33:32 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:52427)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cJ0sT-0003OF-0O
	for grep-commit@gnu.org; Mon, 19 Dec 2016 11:33:29 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69712)
	id D23A12201BA; Mon, 19 Dec 2016 16:33:28 +0000 (UTC)
To: grep-commit@gnu.org
Subject: grep branch, master, updated. v2.27-10-g3a10e3e
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 71f02d822ee9a85426e491cdfedb20189866a78e
X-Git-Newrev: 3a10e3ecb32daef581b3d1546baf7d845e7ccc8f
Message-Id: <20161219163328.D23A12201BA@vcs.savannah.gnu.org>
Date: Mon, 19 Dec 2016 16:33:28 +0000 (UTC)
From: eggert@cs.ucla.edu (Paul Eggert)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.72
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 19 Dec 2016 16:33:33 -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  3a10e3ecb32daef581b3d1546baf7d845e7ccc8f (commit)
      from  71f02d822ee9a85426e491cdfedb20189866a78e (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=3a10e3ecb32daef581b3d1546baf7d845e7ccc8f


commit 3a10e3ecb32daef581b3d1546baf7d845e7ccc8f
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Mon Dec 19 08:32:59 2016 -0800

    build: update gnulib submodule to latest

diff --git a/gnulib b/gnulib
index b783f1e..571a9a5 160000
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit b783f1ebd54de36c7459ff1a206e46340e68b727
+Subproject commit 571a9a5a3d1e53e0b93885711fcf6910f347f062

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

Summary of changes:
 gnulib |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
grep


From MAILER-DAEMON Tue Dec 20 21:07:28 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cJWJU-0003Eb-QH
	for mharc-grep-commit@gnu.org; Tue, 20 Dec 2016 21:07:28 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:36341)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cJWJR-0003E4-2E
	for grep-commit@gnu.org; Tue, 20 Dec 2016 21:07:28 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cJWJO-0006eV-BG
	for grep-commit@gnu.org; Tue, 20 Dec 2016 21:07:25 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:35343)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cJWJO-0006eQ-69
	for grep-commit@gnu.org; Tue, 20 Dec 2016 21:07:22 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69712)
	id 029412201BA; Wed, 21 Dec 2016 02:07:21 +0000 (UTC)
To: grep-commit@gnu.org
Subject: grep branch, master, updated. v2.27-13-g290ca11
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 3a10e3ecb32daef581b3d1546baf7d845e7ccc8f
X-Git-Newrev: 290ca116c9172d97b2b026951fac722d3bd3ced9
Message-Id: <20161221020722.029412201BA@vcs.savannah.gnu.org>
Date: Wed, 21 Dec 2016 02:07:21 +0000 (UTC)
From: eggert@cs.ucla.edu (Paul Eggert)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.72
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 21 Dec 2016 02:07:28 -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  290ca116c9172d97b2b026951fac722d3bd3ced9 (commit)
       via  214be13d33a26ab45231afe8e983d9a174aae282 (commit)
       via  75bca3ca0a6ea87a66531ab7c0f8859e1d6c4300 (commit)
      from  3a10e3ecb32daef581b3d1546baf7d845e7ccc8f (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=290ca116c9172d97b2b026951fac722d3bd3ced9


commit 290ca116c9172d97b2b026951fac722d3bd3ced9
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Tue Dec 20 18:04:39 2016 -0800

    grep: fix performance with multiple patterns
    
    Problem reported by Jaroslav Skarvada (Bug#22357).
    * NEWS: Document this and other recent performance fixes.
    * src/grep.c (E_MATCHER_INDEX): New constant.
    (all_single_byte_after_folding):
    New function, split out from fgrep_icase_available.
    (fgrep_icase_available): Use it.
    (try_fgrep_pattern): New function, which also uses it.
    (main): With two or more patterns, use try_fgrep_pattern to fix
    performance regression.  The number "two" here is just a heuristic.

diff --git a/NEWS b/NEWS
index aa0483b..2e7d1ae 100644
--- a/NEWS
+++ b/NEWS
@@ -8,6 +8,17 @@ GNU grep NEWS                                    -*- outline -*-
   /proc file system and standard output is /dev/null.
   [bug introduced in grep-2.27]
 
+** Bug fixes
+
+  Fix performance regression with multiple patterns, e.g., for -Fi in
+  a multi-byte locale, or for -Fw in a single-byte locale.
+  [bugs introduced in grep-2.19, grep-2.22 and grep-2.26]
+
+** Improvements
+
+  Improve performance for -E or -G pattern lists that are easily
+  converted to -F format.
+
 
 * Noteworthy changes in release 2.27 (2016-12-06) [stable]
 
diff --git a/src/grep.c b/src/grep.c
index 574a380..f36654c 100644
--- a/src/grep.c
+++ b/src/grep.c
@@ -2032,7 +2032,7 @@ static struct
   { "perl", 0, Pcompile, Pexecute, },
 };
 /* Keep these in sync with the 'matchers' table.  */
-enum { F_MATCHER_INDEX = 2, G_MATCHER_INDEX = 0 };
+enum { E_MATCHER_INDEX = 1, F_MATCHER_INDEX = 2, G_MATCHER_INDEX = 0 };
 
 /* Return the index of the matcher corresponding to M if available.
    MATCHER is the index of the previous matcher, or -1 if none.
@@ -2245,23 +2245,12 @@ contains_encoding_error (char const *pat, size_t patlen)
   return false;
 }
 
-/* Return true if the fgrep pattern PAT, of size PATLEN, matches only
-   single-byte characters including case folding, and so is suitable
-   to be converted to a grep pattern.  */
+/* Return true if the set of single-byte characters USED contains only
+   characters whose case counterparts are also single-byte.  */
 
 static bool
-fgrep_icase_available (char const *pat, size_t patlen)
+all_single_byte_after_folding (bool used[UCHAR_MAX + 1])
 {
-  bool used[UCHAR_MAX + 1] = { 0, };
-
-  for (size_t i = 0; i < patlen; i++)
-    {
-      unsigned char c = pat[i];
-      if (localeinfo.sbctowc[c] == WEOF)
-        return false;
-      used[c] = true;
-    }
-
   for (int c = 0; c <= UCHAR_MAX; c++)
     if (used[c])
       {
@@ -2281,6 +2270,26 @@ fgrep_icase_available (char const *pat, size_t patlen)
   return true;
 }
 
+/* Return true if the -F patterns PAT, of size PATLEN, match only
+   single-byte characters including case folding, and so can be
+   processed by the -F matcher even if -i is given.  */
+
+static bool
+fgrep_icase_available (char const *pat, size_t patlen)
+{
+  bool used[UCHAR_MAX + 1] = { 0, };
+
+  for (size_t i = 0; i < patlen; i++)
+    {
+      unsigned char c = pat[i];
+      if (localeinfo.sbctowc[c] == WEOF)
+        return false;
+      used[c] = true;
+    }
+
+  return all_single_byte_after_folding (used);
+}
+
 /* Change the pattern *KEYS_P, of size *LEN_P, from fgrep to grep style.  */
 
 static void
@@ -2325,6 +2334,84 @@ fgrep_to_grep_pattern (char **keys_p, size_t *len_p)
   *len_p = p - new_keys;
 }
 
+/* If it is easy, convert the MATCHER-style patterns KEYS (of size
+   *LEN_P) to -F style, update *LEN_P to a possibly-smaller value, and
+   return F_MATCHER_INDEX.  If not, leave KEYS and *LEN_P alone and
+   return MATCHER.  This function is conservative and sometimes misses
+   conversions, e.g., it does not convert the -E pattern "(a|a|[aa])"
+   to the -F pattern "a".  */
+
+static int
+try_fgrep_pattern (int matcher, char *keys, size_t *len_p)
+{
+  int result = matcher;
+  size_t len = *len_p;
+  char *new_keys = xmalloc (len + 1);
+  char *p = new_keys;
+  mbstate_t mb_state = { 0 };
+  size_t mblen_lim = match_icase ? 1 : -3;
+  bool used[UCHAR_MAX + 1] = { 0, };
+
+  while (len != 0)
+    {
+      switch (*keys)
+        {
+        case '$': case '*': case '.': case '[': case '^':
+          goto fail;
+
+        case '(': case '+': case '?': case '{': case '|':
+          if (matcher != G_MATCHER_INDEX)
+            goto fail;
+          break;
+
+        case '\\':
+          if (1 < len)
+            switch (keys[1])
+              {
+              case '\n':
+              case 'B': case 'S': case 'W': case'\'': case '<':
+              case 'b': case 's': case 'w': case '`': case '>':
+              case '1': case '2': case '3': case '4':
+              case '5': case '6': case '7': case '8': case '9':
+                goto fail;
+
+              case '(': case '+': case '?': case '{': case '|':
+                if (matcher == G_MATCHER_INDEX)
+                  goto fail;
+                /* Fall through.  */
+              default:
+                keys++, len--;
+                break;
+              }
+          break;
+        }
+
+      {
+        size_t n = mb_clen (keys, len, &mb_state);
+        if (mblen_lim < n)
+          goto fail;
+        used[to_uchar (keys[0])] = true;
+        p = mempcpy (p, keys, n);
+        keys += n;
+        len -= n;
+      }
+    }
+
+  if (mblen_lim == 1 && !all_single_byte_after_folding (used))
+    goto fail;
+
+  if (*len_p != p - new_keys)
+    {
+      *len_p = p - new_keys;
+      memcpy (keys, new_keys, p - new_keys);
+    }
+  result = F_MATCHER_INDEX;
+
+ fail:
+  free (new_keys);
+  return result;
+}
+
 int
 main (int argc, char **argv)
 {
@@ -2758,11 +2845,11 @@ main (int argc, char **argv)
   if (matcher < 0)
     matcher = G_MATCHER_INDEX;
 
-  /* In a unibyte locale, switch from fgrep to grep if
-     the pattern matches words (where grep is typically faster).
-     In a multibyte locale, switch from fgrep to grep if either
-     (1) the pattern has an encoding error (where fgrep might not work), or
-     (2) case is ignored and a fast fgrep ignore-case is not available.  */
+  /* In a single-byte locale, switch from -F to -G if it is a single
+     pattern that matches words, where -G is typically faster.  In a
+     multi-byte locale, switch if the patterns have an encoding error
+     (where -F does not work) or if -i and the patterns will not work
+     for -iF.  */
   if (matcher == F_MATCHER_INDEX
       && (MB_CUR_MAX <= 1
           ? match_words
@@ -2772,6 +2859,11 @@ main (int argc, char **argv)
       fgrep_to_grep_pattern (&keys, &keycc);
       matcher = G_MATCHER_INDEX;
     }
+  /* With two or more patterns, if -F works then switch from either -E
+     or -G, as -F is probably faster then.  */
+  else if ((matcher == G_MATCHER_INDEX || matcher == E_MATCHER_INDEX)
+           && 1 < n_patterns)
+    matcher = try_fgrep_pattern (matcher, keys, &keycc);
 
   execute = matchers[matcher].execute;
   matchers[matcher].compile (keys, keycc, matchers[matcher].syntax);

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


commit 290ca116c9172d97b2b026951fac722d3bd3ced9
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Tue Dec 20 18:04:39 2016 -0800

    grep: fix performance with multiple patterns
    
    Problem reported by Jaroslav Skarvada (Bug#22357).
    * NEWS: Document this and other recent performance fixes.
    * src/grep.c (E_MATCHER_INDEX): New constant.
    (all_single_byte_after_folding):
    New function, split out from fgrep_icase_available.
    (fgrep_icase_available): Use it.
    (try_fgrep_pattern): New function, which also uses it.
    (main): With two or more patterns, use try_fgrep_pattern to fix
    performance regression.  The number "two" here is just a heuristic.

diff --git a/NEWS b/NEWS
index aa0483b..2e7d1ae 100644
--- a/NEWS
+++ b/NEWS
@@ -8,6 +8,17 @@ GNU grep NEWS                                    -*- outline -*-
   /proc file system and standard output is /dev/null.
   [bug introduced in grep-2.27]
 
+** Bug fixes
+
+  Fix performance regression with multiple patterns, e.g., for -Fi in
+  a multi-byte locale, or for -Fw in a single-byte locale.
+  [bugs introduced in grep-2.19, grep-2.22 and grep-2.26]
+
+** Improvements
+
+  Improve performance for -E or -G pattern lists that are easily
+  converted to -F format.
+
 
 * Noteworthy changes in release 2.27 (2016-12-06) [stable]
 
diff --git a/src/grep.c b/src/grep.c
index 574a380..f36654c 100644
--- a/src/grep.c
+++ b/src/grep.c
@@ -2032,7 +2032,7 @@ static struct
   { "perl", 0, Pcompile, Pexecute, },
 };
 /* Keep these in sync with the 'matchers' table.  */
-enum { F_MATCHER_INDEX = 2, G_MATCHER_INDEX = 0 };
+enum { E_MATCHER_INDEX = 1, F_MATCHER_INDEX = 2, G_MATCHER_INDEX = 0 };
 
 /* Return the index of the matcher corresponding to M if available.
    MATCHER is the index of the previous matcher, or -1 if none.
@@ -2245,23 +2245,12 @@ contains_encoding_error (char const *pat, size_t patlen)
   return false;
 }
 
-/* Return true if the fgrep pattern PAT, of size PATLEN, matches only
-   single-byte characters including case folding, and so is suitable
-   to be converted to a grep pattern.  */
+/* Return true if the set of single-byte characters USED contains only
+   characters whose case counterparts are also single-byte.  */
 
 static bool
-fgrep_icase_available (char const *pat, size_t patlen)
+all_single_byte_after_folding (bool used[UCHAR_MAX + 1])
 {
-  bool used[UCHAR_MAX + 1] = { 0, };
-
-  for (size_t i = 0; i < patlen; i++)
-    {
-      unsigned char c = pat[i];
-      if (localeinfo.sbctowc[c] == WEOF)
-        return false;
-      used[c] = true;
-    }
-
   for (int c = 0; c <= UCHAR_MAX; c++)
     if (used[c])
       {
@@ -2281,6 +2270,26 @@ fgrep_icase_available (char const *pat, size_t patlen)
   return true;
 }
 
+/* Return true if the -F patterns PAT, of size PATLEN, match only
+   single-byte characters including case folding, and so can be
+   processed by the -F matcher even if -i is given.  */
+
+static bool
+fgrep_icase_available (char const *pat, size_t patlen)
+{
+  bool used[UCHAR_MAX + 1] = { 0, };
+
+  for (size_t i = 0; i < patlen; i++)
+    {
+      unsigned char c = pat[i];
+      if (localeinfo.sbctowc[c] == WEOF)
+        return false;
+      used[c] = true;
+    }
+
+  return all_single_byte_after_folding (used);
+}
+
 /* Change the pattern *KEYS_P, of size *LEN_P, from fgrep to grep style.  */
 
 static void
@@ -2325,6 +2334,84 @@ fgrep_to_grep_pattern (char **keys_p, size_t *len_p)
   *len_p = p - new_keys;
 }
 
+/* If it is easy, convert the MATCHER-style patterns KEYS (of size
+   *LEN_P) to -F style, update *LEN_P to a possibly-smaller value, and
+   return F_MATCHER_INDEX.  If not, leave KEYS and *LEN_P alone and
+   return MATCHER.  This function is conservative and sometimes misses
+   conversions, e.g., it does not convert the -E pattern "(a|a|[aa])"
+   to the -F pattern "a".  */
+
+static int
+try_fgrep_pattern (int matcher, char *keys, size_t *len_p)
+{
+  int result = matcher;
+  size_t len = *len_p;
+  char *new_keys = xmalloc (len + 1);
+  char *p = new_keys;
+  mbstate_t mb_state = { 0 };
+  size_t mblen_lim = match_icase ? 1 : -3;
+  bool used[UCHAR_MAX + 1] = { 0, };
+
+  while (len != 0)
+    {
+      switch (*keys)
+        {
+        case '$': case '*': case '.': case '[': case '^':
+          goto fail;
+
+        case '(': case '+': case '?': case '{': case '|':
+          if (matcher != G_MATCHER_INDEX)
+            goto fail;
+          break;
+
+        case '\\':
+          if (1 < len)
+            switch (keys[1])
+              {
+              case '\n':
+              case 'B': case 'S': case 'W': case'\'': case '<':
+              case 'b': case 's': case 'w': case '`': case '>':
+              case '1': case '2': case '3': case '4':
+              case '5': case '6': case '7': case '8': case '9':
+                goto fail;
+
+              case '(': case '+': case '?': case '{': case '|':
+                if (matcher == G_MATCHER_INDEX)
+                  goto fail;
+                /* Fall through.  */
+              default:
+                keys++, len--;
+                break;
+              }
+          break;
+        }
+
+      {
+        size_t n = mb_clen (keys, len, &mb_state);
+        if (mblen_lim < n)
+          goto fail;
+        used[to_uchar (keys[0])] = true;
+        p = mempcpy (p, keys, n);
+        keys += n;
+        len -= n;
+      }
+    }
+
+  if (mblen_lim == 1 && !all_single_byte_after_folding (used))
+    goto fail;
+
+  if (*len_p != p - new_keys)
+    {
+      *len_p = p - new_keys;
+      memcpy (keys, new_keys, p - new_keys);
+    }
+  result = F_MATCHER_INDEX;
+
+ fail:
+  free (new_keys);
+  return result;
+}
+
 int
 main (int argc, char **argv)
 {
@@ -2758,11 +2845,11 @@ main (int argc, char **argv)
   if (matcher < 0)
     matcher = G_MATCHER_INDEX;
 
-  /* In a unibyte locale, switch from fgrep to grep if
-     the pattern matches words (where grep is typically faster).
-     In a multibyte locale, switch from fgrep to grep if either
-     (1) the pattern has an encoding error (where fgrep might not work), or
-     (2) case is ignored and a fast fgrep ignore-case is not available.  */
+  /* In a single-byte locale, switch from -F to -G if it is a single
+     pattern that matches words, where -G is typically faster.  In a
+     multi-byte locale, switch if the patterns have an encoding error
+     (where -F does not work) or if -i and the patterns will not work
+     for -iF.  */
   if (matcher == F_MATCHER_INDEX
       && (MB_CUR_MAX <= 1
           ? match_words
@@ -2772,6 +2859,11 @@ main (int argc, char **argv)
       fgrep_to_grep_pattern (&keys, &keycc);
       matcher = G_MATCHER_INDEX;
     }
+  /* With two or more patterns, if -F works then switch from either -E
+     or -G, as -F is probably faster then.  */
+  else if ((matcher == G_MATCHER_INDEX || matcher == E_MATCHER_INDEX)
+           && 1 < n_patterns)
+    matcher = try_fgrep_pattern (matcher, keys, &keycc);
 
   execute = matchers[matcher].execute;
   matchers[matcher].compile (keys, keycc, matchers[matcher].syntax);

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


commit 290ca116c9172d97b2b026951fac722d3bd3ced9
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Tue Dec 20 18:04:39 2016 -0800

    grep: fix performance with multiple patterns
    
    Problem reported by Jaroslav Skarvada (Bug#22357).
    * NEWS: Document this and other recent performance fixes.
    * src/grep.c (E_MATCHER_INDEX): New constant.
    (all_single_byte_after_folding):
    New function, split out from fgrep_icase_available.
    (fgrep_icase_available): Use it.
    (try_fgrep_pattern): New function, which also uses it.
    (main): With two or more patterns, use try_fgrep_pattern to fix
    performance regression.  The number "two" here is just a heuristic.

diff --git a/NEWS b/NEWS
index aa0483b..2e7d1ae 100644
--- a/NEWS
+++ b/NEWS
@@ -8,6 +8,17 @@ GNU grep NEWS                                    -*- outline -*-
   /proc file system and standard output is /dev/null.
   [bug introduced in grep-2.27]
 
+** Bug fixes
+
+  Fix performance regression with multiple patterns, e.g., for -Fi in
+  a multi-byte locale, or for -Fw in a single-byte locale.
+  [bugs introduced in grep-2.19, grep-2.22 and grep-2.26]
+
+** Improvements
+
+  Improve performance for -E or -G pattern lists that are easily
+  converted to -F format.
+
 
 * Noteworthy changes in release 2.27 (2016-12-06) [stable]
 
diff --git a/src/grep.c b/src/grep.c
index 574a380..f36654c 100644
--- a/src/grep.c
+++ b/src/grep.c
@@ -2032,7 +2032,7 @@ static struct
   { "perl", 0, Pcompile, Pexecute, },
 };
 /* Keep these in sync with the 'matchers' table.  */
-enum { F_MATCHER_INDEX = 2, G_MATCHER_INDEX = 0 };
+enum { E_MATCHER_INDEX = 1, F_MATCHER_INDEX = 2, G_MATCHER_INDEX = 0 };
 
 /* Return the index of the matcher corresponding to M if available.
    MATCHER is the index of the previous matcher, or -1 if none.
@@ -2245,23 +2245,12 @@ contains_encoding_error (char const *pat, size_t patlen)
   return false;
 }
 
-/* Return true if the fgrep pattern PAT, of size PATLEN, matches only
-   single-byte characters including case folding, and so is suitable
-   to be converted to a grep pattern.  */
+/* Return true if the set of single-byte characters USED contains only
+   characters whose case counterparts are also single-byte.  */
 
 static bool
-fgrep_icase_available (char const *pat, size_t patlen)
+all_single_byte_after_folding (bool used[UCHAR_MAX + 1])
 {
-  bool used[UCHAR_MAX + 1] = { 0, };
-
-  for (size_t i = 0; i < patlen; i++)
-    {
-      unsigned char c = pat[i];
-      if (localeinfo.sbctowc[c] == WEOF)
-        return false;
-      used[c] = true;
-    }
-
   for (int c = 0; c <= UCHAR_MAX; c++)
     if (used[c])
       {
@@ -2281,6 +2270,26 @@ fgrep_icase_available (char const *pat, size_t patlen)
   return true;
 }
 
+/* Return true if the -F patterns PAT, of size PATLEN, match only
+   single-byte characters including case folding, and so can be
+   processed by the -F matcher even if -i is given.  */
+
+static bool
+fgrep_icase_available (char const *pat, size_t patlen)
+{
+  bool used[UCHAR_MAX + 1] = { 0, };
+
+  for (size_t i = 0; i < patlen; i++)
+    {
+      unsigned char c = pat[i];
+      if (localeinfo.sbctowc[c] == WEOF)
+        return false;
+      used[c] = true;
+    }
+
+  return all_single_byte_after_folding (used);
+}
+
 /* Change the pattern *KEYS_P, of size *LEN_P, from fgrep to grep style.  */
 
 static void
@@ -2325,6 +2334,84 @@ fgrep_to_grep_pattern (char **keys_p, size_t *len_p)
   *len_p = p - new_keys;
 }
 
+/* If it is easy, convert the MATCHER-style patterns KEYS (of size
+   *LEN_P) to -F style, update *LEN_P to a possibly-smaller value, and
+   return F_MATCHER_INDEX.  If not, leave KEYS and *LEN_P alone and
+   return MATCHER.  This function is conservative and sometimes misses
+   conversions, e.g., it does not convert the -E pattern "(a|a|[aa])"
+   to the -F pattern "a".  */
+
+static int
+try_fgrep_pattern (int matcher, char *keys, size_t *len_p)
+{
+  int result = matcher;
+  size_t len = *len_p;
+  char *new_keys = xmalloc (len + 1);
+  char *p = new_keys;
+  mbstate_t mb_state = { 0 };
+  size_t mblen_lim = match_icase ? 1 : -3;
+  bool used[UCHAR_MAX + 1] = { 0, };
+
+  while (len != 0)
+    {
+      switch (*keys)
+        {
+        case '$': case '*': case '.': case '[': case '^':
+          goto fail;
+
+        case '(': case '+': case '?': case '{': case '|':
+          if (matcher != G_MATCHER_INDEX)
+            goto fail;
+          break;
+
+        case '\\':
+          if (1 < len)
+            switch (keys[1])
+              {
+              case '\n':
+              case 'B': case 'S': case 'W': case'\'': case '<':
+              case 'b': case 's': case 'w': case '`': case '>':
+              case '1': case '2': case '3': case '4':
+              case '5': case '6': case '7': case '8': case '9':
+                goto fail;
+
+              case '(': case '+': case '?': case '{': case '|':
+                if (matcher == G_MATCHER_INDEX)
+                  goto fail;
+                /* Fall through.  */
+              default:
+                keys++, len--;
+                break;
+              }
+          break;
+        }
+
+      {
+        size_t n = mb_clen (keys, len, &mb_state);
+        if (mblen_lim < n)
+          goto fail;
+        used[to_uchar (keys[0])] = true;
+        p = mempcpy (p, keys, n);
+        keys += n;
+        len -= n;
+      }
+    }
+
+  if (mblen_lim == 1 && !all_single_byte_after_folding (used))
+    goto fail;
+
+  if (*len_p != p - new_keys)
+    {
+      *len_p = p - new_keys;
+      memcpy (keys, new_keys, p - new_keys);
+    }
+  result = F_MATCHER_INDEX;
+
+ fail:
+  free (new_keys);
+  return result;
+}
+
 int
 main (int argc, char **argv)
 {
@@ -2758,11 +2845,11 @@ main (int argc, char **argv)
   if (matcher < 0)
     matcher = G_MATCHER_INDEX;
 
-  /* In a unibyte locale, switch from fgrep to grep if
-     the pattern matches words (where grep is typically faster).
-     In a multibyte locale, switch from fgrep to grep if either
-     (1) the pattern has an encoding error (where fgrep might not work), or
-     (2) case is ignored and a fast fgrep ignore-case is not available.  */
+  /* In a single-byte locale, switch from -F to -G if it is a single
+     pattern that matches words, where -G is typically faster.  In a
+     multi-byte locale, switch if the patterns have an encoding error
+     (where -F does not work) or if -i and the patterns will not work
+     for -iF.  */
   if (matcher == F_MATCHER_INDEX
       && (MB_CUR_MAX <= 1
           ? match_words
@@ -2772,6 +2859,11 @@ main (int argc, char **argv)
       fgrep_to_grep_pattern (&keys, &keycc);
       matcher = G_MATCHER_INDEX;
     }
+  /* With two or more patterns, if -F works then switch from either -E
+     or -G, as -F is probably faster then.  */
+  else if ((matcher == G_MATCHER_INDEX || matcher == E_MATCHER_INDEX)
+           && 1 < n_patterns)
+    matcher = try_fgrep_pattern (matcher, keys, &keycc);
 
   execute = matchers[matcher].execute;
   matchers[matcher].compile (keys, keycc, matchers[matcher].syntax);

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

Summary of changes:
 NEWS             |   11 ++
 src/grep.c       |  292 +++++++++++++++++++++++++++++++-----------------------
 src/kwsearch.c   |    2 +-
 src/pcresearch.c |    2 +-
 src/search.h     |    4 +-
 5 files changed, 184 insertions(+), 127 deletions(-)


hooks/post-receive
-- 
grep


From MAILER-DAEMON Fri Dec 23 20:23:09 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cKb3F-0006Fc-1A
	for mharc-grep-commit@gnu.org; Fri, 23 Dec 2016 20:23:09 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:41144)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cKb38-0006D9-NT
	for grep-commit@gnu.org; Fri, 23 Dec 2016 20:23:07 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cKb34-0005zO-Qy
	for grep-commit@gnu.org; Fri, 23 Dec 2016 20:23:02 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:56415)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cKb34-0005zG-LC
	for grep-commit@gnu.org; Fri, 23 Dec 2016 20:22:58 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69712)
	id 6DDC02201BC; Sat, 24 Dec 2016 01:22:58 +0000 (UTC)
To: grep-commit@gnu.org
Subject: grep branch, master, updated. v2.27-20-gfdf9fad
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 290ca116c9172d97b2b026951fac722d3bd3ced9
X-Git-Newrev: fdf9fadd03160680e4d3edc886b1e31e424b535f
Message-Id: <20161224012258.6DDC02201BC@vcs.savannah.gnu.org>
Date: Sat, 24 Dec 2016 01:22:58 +0000 (UTC)
From: eggert@cs.ucla.edu (Paul Eggert)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.72
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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 2016 01:23:07 -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  fdf9fadd03160680e4d3edc886b1e31e424b535f (commit)
       via  d628657e87f4a7d7e242129b318a903d1ea26b74 (commit)
       via  192d61e2828e13c4a2f1a81cd128721a229c88f9 (commit)
       via  4fa1971d98c79b56b466eff57117351dc395ee2a (commit)
       via  4dd5274d6a8519d08ede792baafb0f9415cf4f9f (commit)
       via  a01232744cb71fdde44a3c8b50dcbf34181e16a1 (commit)
       via  3cec0670866aaffbd4506ad934029f21983c99b9 (commit)
      from  290ca116c9172d97b2b026951fac722d3bd3ced9 (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=fdf9fadd03160680e4d3edc886b1e31e424b535f


commit fdf9fadd03160680e4d3edc886b1e31e424b535f
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Fri Dec 23 16:16:01 2016 -0800

    grep: improve word checking with UTF-8
    
    * src/searchutils.c: Do not include <verify.h>.
    (word_start): Remove, replacing with ...
    (sbwordchar): New static var.  All uses changed.
    (wordchar_prev): Return size_t, not bool, as this generates
    slightly better code.  Go back faster if UTF-8.

diff --git a/src/search.h b/src/search.h
index 1def4d6..b700ed5 100644
--- a/src/search.h
+++ b/src/search.h
@@ -50,7 +50,7 @@ extern void wordinit (void);
 extern kwset_t kwsinit (bool);
 extern size_t wordchars_size (char const *, char const *);
 extern size_t wordchar_next (char const *, char const *);
-extern bool wordchar_prev (char const *, char const *, char const *);
+extern size_t wordchar_prev (char const *, char const *, char const *);
 extern ptrdiff_t mb_goback (char const **, char const *, char const *);
 
 /* dfasearch.c */
diff --git a/src/searchutils.c b/src/searchutils.c
index 6f6ae0b..3ba3cdb 100644
--- a/src/searchutils.c
+++ b/src/searchutils.c
@@ -22,14 +22,9 @@
 #define SYSTEM_INLINE _GL_EXTERN_INLINE
 #include "search.h"
 
-#include <verify.h>
-
-/* For each byte B, word_start[B] is 1 if B is a single-byte character
-   that is a word constituent, 0 if B cannot start a word constituent,
-   and -1 if B might be or might not be the start of a word
-   constituent.  */
-static wint_t word_start[NCHAR];
-verify (WEOF != 0 && WEOF != 1);
+/* For each byte B, sbwordchar[B] is true if B is a single-byte
+   character that is a word constituent, and is false otherwise.  */
+static bool sbwordchar[NCHAR];
 
 /* Whether -w considers WC to be a word constituent.  */
 static bool
@@ -42,8 +37,7 @@ void
 wordinit (void)
 {
   for (int i = 0; i < NCHAR; i++)
-    word_start[i] = (localeinfo.sbclen[i] == -2 ? WEOF
-                     : wordchar (localeinfo.sbctowc[i]));
+    sbwordchar[i] = wordchar (localeinfo.sbctowc[i]);
 }
 
 kwset_t
@@ -94,23 +88,46 @@ mb_goback (char const **mb_start, char const *cur, char const *end)
 {
   const char *p = *mb_start;
   const char *p0 = p;
-  mbstate_t cur_state;
 
-  memset (&cur_state, 0, sizeof cur_state);
+  if (cur <= p)
+    return cur - p;
 
-  while (p < cur)
+  if (localeinfo.using_utf8)
     {
-      size_t clen = mb_clen (p, end - p, &cur_state);
-
-      if ((size_t) -2 <= clen)
+      p = cur;
+
+      if (cur < end && (*cur & 0xc0) == 0x80)
+        for (int i = 1; i <= 3; i++)
+          if ((cur[-i] & 0xc0) != 0x80)
+            {
+              mbstate_t mbs = { 0 };
+              size_t clen = mb_clen (cur - i, end - (cur - i), &mbs);
+              if (i < clen && clen < (size_t) -2)
+                {
+                  p0 = cur - i;
+                  p = p0 + clen;
+                }
+              break;
+            }
+    }
+  else
+    {
+      mbstate_t mbs = { 0 };
+      do
         {
-          /* An invalid sequence, or a truncated multibyte character.
-             Treat it as a single byte character.  */
-          clen = 1;
-          memset (&cur_state, 0, sizeof cur_state);
+          size_t clen = mb_clen (p, end - p, &mbs);
+
+          if ((size_t) -2 <= clen)
+            {
+              /* An invalid sequence, or a truncated multibyte character.
+                 Treat it as a single byte character.  */
+              clen = 1;
+              memset (&mbs, 0, sizeof mbs);
+            }
+          p0 = p;
+          p += clen;
         }
-      p0 = p;
-      p += clen;
+      while (p < cur);
     }
 
   *mb_start = p;
@@ -127,11 +144,11 @@ wordchars_count (char const *buf, char const *end, bool countall)
   mbstate_t mbs = { 0 };
   while (n < end - buf)
     {
-      wint_t ws = word_start[to_uchar (buf[n])];
-      if (ws == 0)
-        break;
-      else if (ws == 1)
+      unsigned char b = buf[n];
+      if (sbwordchar[b])
         n++;
+      else if (localeinfo.sbclen[b] != -2)
+        break;
       else
         {
           wchar_t wc = 0;
@@ -163,19 +180,19 @@ wordchar_next (char const *buf, char const *end)
   return wordchars_count (buf, end, false);
 }
 
-/* In the buffer BUF, return true if the character whose encoding
+/* In the buffer BUF, return nonzero if the character whose encoding
    contains the byte before CUR is a word constituent.  The buffer
    ends at END.  */
-bool
+size_t
 wordchar_prev (char const *buf, char const *cur, char const *end)
 {
   if (buf == cur)
-    return false;
-  cur--;
-  wint_t ws = word_start[to_uchar (*cur)];
-  if (! localeinfo.multibyte)
-    return ws == 1;
+    return 0;
+  unsigned char b = *--cur;
+  if (! localeinfo.multibyte
+      || (localeinfo.using_utf8 && localeinfo.sbclen[b] != -2))
+    return sbwordchar[b];
   char const *p = buf;
   cur -= mb_goback (&p, cur, end);
-  return wordchar_next (cur, end) != 0;
+  return wordchar_next (cur, end);
 }

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


commit fdf9fadd03160680e4d3edc886b1e31e424b535f
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Fri Dec 23 16:16:01 2016 -0800

    grep: improve word checking with UTF-8
    
    * src/searchutils.c: Do not include <verify.h>.
    (word_start): Remove, replacing with ...
    (sbwordchar): New static var.  All uses changed.
    (wordchar_prev): Return size_t, not bool, as this generates
    slightly better code.  Go back faster if UTF-8.

diff --git a/src/search.h b/src/search.h
index 1def4d6..b700ed5 100644
--- a/src/search.h
+++ b/src/search.h
@@ -50,7 +50,7 @@ extern void wordinit (void);
 extern kwset_t kwsinit (bool);
 extern size_t wordchars_size (char const *, char const *);
 extern size_t wordchar_next (char const *, char const *);
-extern bool wordchar_prev (char const *, char const *, char const *);
+extern size_t wordchar_prev (char const *, char const *, char const *);
 extern ptrdiff_t mb_goback (char const **, char const *, char const *);
 
 /* dfasearch.c */
diff --git a/src/searchutils.c b/src/searchutils.c
index 6f6ae0b..3ba3cdb 100644
--- a/src/searchutils.c
+++ b/src/searchutils.c
@@ -22,14 +22,9 @@
 #define SYSTEM_INLINE _GL_EXTERN_INLINE
 #include "search.h"
 
-#include <verify.h>
-
-/* For each byte B, word_start[B] is 1 if B is a single-byte character
-   that is a word constituent, 0 if B cannot start a word constituent,
-   and -1 if B might be or might not be the start of a word
-   constituent.  */
-static wint_t word_start[NCHAR];
-verify (WEOF != 0 && WEOF != 1);
+/* For each byte B, sbwordchar[B] is true if B is a single-byte
+   character that is a word constituent, and is false otherwise.  */
+static bool sbwordchar[NCHAR];
 
 /* Whether -w considers WC to be a word constituent.  */
 static bool
@@ -42,8 +37,7 @@ void
 wordinit (void)
 {
   for (int i = 0; i < NCHAR; i++)
-    word_start[i] = (localeinfo.sbclen[i] == -2 ? WEOF
-                     : wordchar (localeinfo.sbctowc[i]));
+    sbwordchar[i] = wordchar (localeinfo.sbctowc[i]);
 }
 
 kwset_t
@@ -94,23 +88,46 @@ mb_goback (char const **mb_start, char const *cur, char const *end)
 {
   const char *p = *mb_start;
   const char *p0 = p;
-  mbstate_t cur_state;
 
-  memset (&cur_state, 0, sizeof cur_state);
+  if (cur <= p)
+    return cur - p;
 
-  while (p < cur)
+  if (localeinfo.using_utf8)
     {
-      size_t clen = mb_clen (p, end - p, &cur_state);
-
-      if ((size_t) -2 <= clen)
+      p = cur;
+
+      if (cur < end && (*cur & 0xc0) == 0x80)
+        for (int i = 1; i <= 3; i++)
+          if ((cur[-i] & 0xc0) != 0x80)
+            {
+              mbstate_t mbs = { 0 };
+              size_t clen = mb_clen (cur - i, end - (cur - i), &mbs);
+              if (i < clen && clen < (size_t) -2)
+                {
+                  p0 = cur - i;
+                  p = p0 + clen;
+                }
+              break;
+            }
+    }
+  else
+    {
+      mbstate_t mbs = { 0 };
+      do
         {
-          /* An invalid sequence, or a truncated multibyte character.
-             Treat it as a single byte character.  */
-          clen = 1;
-          memset (&cur_state, 0, sizeof cur_state);
+          size_t clen = mb_clen (p, end - p, &mbs);
+
+          if ((size_t) -2 <= clen)
+            {
+              /* An invalid sequence, or a truncated multibyte character.
+                 Treat it as a single byte character.  */
+              clen = 1;
+              memset (&mbs, 0, sizeof mbs);
+            }
+          p0 = p;
+          p += clen;
         }
-      p0 = p;
-      p += clen;
+      while (p < cur);
     }
 
   *mb_start = p;
@@ -127,11 +144,11 @@ wordchars_count (char const *buf, char const *end, bool countall)
   mbstate_t mbs = { 0 };
   while (n < end - buf)
     {
-      wint_t ws = word_start[to_uchar (buf[n])];
-      if (ws == 0)
-        break;
-      else if (ws == 1)
+      unsigned char b = buf[n];
+      if (sbwordchar[b])
         n++;
+      else if (localeinfo.sbclen[b] != -2)
+        break;
       else
         {
           wchar_t wc = 0;
@@ -163,19 +180,19 @@ wordchar_next (char const *buf, char const *end)
   return wordchars_count (buf, end, false);
 }
 
-/* In the buffer BUF, return true if the character whose encoding
+/* In the buffer BUF, return nonzero if the character whose encoding
    contains the byte before CUR is a word constituent.  The buffer
    ends at END.  */
-bool
+size_t
 wordchar_prev (char const *buf, char const *cur, char const *end)
 {
   if (buf == cur)
-    return false;
-  cur--;
-  wint_t ws = word_start[to_uchar (*cur)];
-  if (! localeinfo.multibyte)
-    return ws == 1;
+    return 0;
+  unsigned char b = *--cur;
+  if (! localeinfo.multibyte
+      || (localeinfo.using_utf8 && localeinfo.sbclen[b] != -2))
+    return sbwordchar[b];
   char const *p = buf;
   cur -= mb_goback (&p, cur, end);
-  return wordchar_next (cur, end) != 0;
+  return wordchar_next (cur, end);
 }

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


commit fdf9fadd03160680e4d3edc886b1e31e424b535f
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Fri Dec 23 16:16:01 2016 -0800

    grep: improve word checking with UTF-8
    
    * src/searchutils.c: Do not include <verify.h>.
    (word_start): Remove, replacing with ...
    (sbwordchar): New static var.  All uses changed.
    (wordchar_prev): Return size_t, not bool, as this generates
    slightly better code.  Go back faster if UTF-8.

diff --git a/src/search.h b/src/search.h
index 1def4d6..b700ed5 100644
--- a/src/search.h
+++ b/src/search.h
@@ -50,7 +50,7 @@ extern void wordinit (void);
 extern kwset_t kwsinit (bool);
 extern size_t wordchars_size (char const *, char const *);
 extern size_t wordchar_next (char const *, char const *);
-extern bool wordchar_prev (char const *, char const *, char const *);
+extern size_t wordchar_prev (char const *, char const *, char const *);
 extern ptrdiff_t mb_goback (char const **, char const *, char const *);
 
 /* dfasearch.c */
diff --git a/src/searchutils.c b/src/searchutils.c
index 6f6ae0b..3ba3cdb 100644
--- a/src/searchutils.c
+++ b/src/searchutils.c
@@ -22,14 +22,9 @@
 #define SYSTEM_INLINE _GL_EXTERN_INLINE
 #include "search.h"
 
-#include <verify.h>
-
-/* For each byte B, word_start[B] is 1 if B is a single-byte character
-   that is a word constituent, 0 if B cannot start a word constituent,
-   and -1 if B might be or might not be the start of a word
-   constituent.  */
-static wint_t word_start[NCHAR];
-verify (WEOF != 0 && WEOF != 1);
+/* For each byte B, sbwordchar[B] is true if B is a single-byte
+   character that is a word constituent, and is false otherwise.  */
+static bool sbwordchar[NCHAR];
 
 /* Whether -w considers WC to be a word constituent.  */
 static bool
@@ -42,8 +37,7 @@ void
 wordinit (void)
 {
   for (int i = 0; i < NCHAR; i++)
-    word_start[i] = (localeinfo.sbclen[i] == -2 ? WEOF
-                     : wordchar (localeinfo.sbctowc[i]));
+    sbwordchar[i] = wordchar (localeinfo.sbctowc[i]);
 }
 
 kwset_t
@@ -94,23 +88,46 @@ mb_goback (char const **mb_start, char const *cur, char const *end)
 {
   const char *p = *mb_start;
   const char *p0 = p;
-  mbstate_t cur_state;
 
-  memset (&cur_state, 0, sizeof cur_state);
+  if (cur <= p)
+    return cur - p;
 
-  while (p < cur)
+  if (localeinfo.using_utf8)
     {
-      size_t clen = mb_clen (p, end - p, &cur_state);
-
-      if ((size_t) -2 <= clen)
+      p = cur;
+
+      if (cur < end && (*cur & 0xc0) == 0x80)
+        for (int i = 1; i <= 3; i++)
+          if ((cur[-i] & 0xc0) != 0x80)
+            {
+              mbstate_t mbs = { 0 };
+              size_t clen = mb_clen (cur - i, end - (cur - i), &mbs);
+              if (i < clen && clen < (size_t) -2)
+                {
+                  p0 = cur - i;
+                  p = p0 + clen;
+                }
+              break;
+            }
+    }
+  else
+    {
+      mbstate_t mbs = { 0 };
+      do
         {
-          /* An invalid sequence, or a truncated multibyte character.
-             Treat it as a single byte character.  */
-          clen = 1;
-          memset (&cur_state, 0, sizeof cur_state);
+          size_t clen = mb_clen (p, end - p, &mbs);
+
+          if ((size_t) -2 <= clen)
+            {
+              /* An invalid sequence, or a truncated multibyte character.
+                 Treat it as a single byte character.  */
+              clen = 1;
+              memset (&mbs, 0, sizeof mbs);
+            }
+          p0 = p;
+          p += clen;
         }
-      p0 = p;
-      p += clen;
+      while (p < cur);
     }
 
   *mb_start = p;
@@ -127,11 +144,11 @@ wordchars_count (char const *buf, char const *end, bool countall)
   mbstate_t mbs = { 0 };
   while (n < end - buf)
     {
-      wint_t ws = word_start[to_uchar (buf[n])];
-      if (ws == 0)
-        break;
-      else if (ws == 1)
+      unsigned char b = buf[n];
+      if (sbwordchar[b])
         n++;
+      else if (localeinfo.sbclen[b] != -2)
+        break;
       else
         {
           wchar_t wc = 0;
@@ -163,19 +180,19 @@ wordchar_next (char const *buf, char const *end)
   return wordchars_count (buf, end, false);
 }
 
-/* In the buffer BUF, return true if the character whose encoding
+/* In the buffer BUF, return nonzero if the character whose encoding
    contains the byte before CUR is a word constituent.  The buffer
    ends at END.  */
-bool
+size_t
 wordchar_prev (char const *buf, char const *cur, char const *end)
 {
   if (buf == cur)
-    return false;
-  cur--;
-  wint_t ws = word_start[to_uchar (*cur)];
-  if (! localeinfo.multibyte)
-    return ws == 1;
+    return 0;
+  unsigned char b = *--cur;
+  if (! localeinfo.multibyte
+      || (localeinfo.using_utf8 && localeinfo.sbclen[b] != -2))
+    return sbwordchar[b];
   char const *p = buf;
   cur -= mb_goback (&p, cur, end);
-  return wordchar_next (cur, end) != 0;
+  return wordchar_next (cur, end);
 }

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


commit fdf9fadd03160680e4d3edc886b1e31e424b535f
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Fri Dec 23 16:16:01 2016 -0800

    grep: improve word checking with UTF-8
    
    * src/searchutils.c: Do not include <verify.h>.
    (word_start): Remove, replacing with ...
    (sbwordchar): New static var.  All uses changed.
    (wordchar_prev): Return size_t, not bool, as this generates
    slightly better code.  Go back faster if UTF-8.

diff --git a/src/search.h b/src/search.h
index 1def4d6..b700ed5 100644
--- a/src/search.h
+++ b/src/search.h
@@ -50,7 +50,7 @@ extern void wordinit (void);
 extern kwset_t kwsinit (bool);
 extern size_t wordchars_size (char const *, char const *);
 extern size_t wordchar_next (char const *, char const *);
-extern bool wordchar_prev (char const *, char const *, char const *);
+extern size_t wordchar_prev (char const *, char const *, char const *);
 extern ptrdiff_t mb_goback (char const **, char const *, char const *);
 
 /* dfasearch.c */
diff --git a/src/searchutils.c b/src/searchutils.c
index 6f6ae0b..3ba3cdb 100644
--- a/src/searchutils.c
+++ b/src/searchutils.c
@@ -22,14 +22,9 @@
 #define SYSTEM_INLINE _GL_EXTERN_INLINE
 #include "search.h"
 
-#include <verify.h>
-
-/* For each byte B, word_start[B] is 1 if B is a single-byte character
-   that is a word constituent, 0 if B cannot start a word constituent,
-   and -1 if B might be or might not be the start of a word
-   constituent.  */
-static wint_t word_start[NCHAR];
-verify (WEOF != 0 && WEOF != 1);
+/* For each byte B, sbwordchar[B] is true if B is a single-byte
+   character that is a word constituent, and is false otherwise.  */
+static bool sbwordchar[NCHAR];
 
 /* Whether -w considers WC to be a word constituent.  */
 static bool
@@ -42,8 +37,7 @@ void
 wordinit (void)
 {
   for (int i = 0; i < NCHAR; i++)
-    word_start[i] = (localeinfo.sbclen[i] == -2 ? WEOF
-                     : wordchar (localeinfo.sbctowc[i]));
+    sbwordchar[i] = wordchar (localeinfo.sbctowc[i]);
 }
 
 kwset_t
@@ -94,23 +88,46 @@ mb_goback (char const **mb_start, char const *cur, char const *end)
 {
   const char *p = *mb_start;
   const char *p0 = p;
-  mbstate_t cur_state;
 
-  memset (&cur_state, 0, sizeof cur_state);
+  if (cur <= p)
+    return cur - p;
 
-  while (p < cur)
+  if (localeinfo.using_utf8)
     {
-      size_t clen = mb_clen (p, end - p, &cur_state);
-
-      if ((size_t) -2 <= clen)
+      p = cur;
+
+      if (cur < end && (*cur & 0xc0) == 0x80)
+        for (int i = 1; i <= 3; i++)
+          if ((cur[-i] & 0xc0) != 0x80)
+            {
+              mbstate_t mbs = { 0 };
+              size_t clen = mb_clen (cur - i, end - (cur - i), &mbs);
+              if (i < clen && clen < (size_t) -2)
+                {
+                  p0 = cur - i;
+                  p = p0 + clen;
+                }
+              break;
+            }
+    }
+  else
+    {
+      mbstate_t mbs = { 0 };
+      do
         {
-          /* An invalid sequence, or a truncated multibyte character.
-             Treat it as a single byte character.  */
-          clen = 1;
-          memset (&cur_state, 0, sizeof cur_state);
+          size_t clen = mb_clen (p, end - p, &mbs);
+
+          if ((size_t) -2 <= clen)
+            {
+              /* An invalid sequence, or a truncated multibyte character.
+                 Treat it as a single byte character.  */
+              clen = 1;
+              memset (&mbs, 0, sizeof mbs);
+            }
+          p0 = p;
+          p += clen;
         }
-      p0 = p;
-      p += clen;
+      while (p < cur);
     }
 
   *mb_start = p;
@@ -127,11 +144,11 @@ wordchars_count (char const *buf, char const *end, bool countall)
   mbstate_t mbs = { 0 };
   while (n < end - buf)
     {
-      wint_t ws = word_start[to_uchar (buf[n])];
-      if (ws == 0)
-        break;
-      else if (ws == 1)
+      unsigned char b = buf[n];
+      if (sbwordchar[b])
         n++;
+      else if (localeinfo.sbclen[b] != -2)
+        break;
       else
         {
           wchar_t wc = 0;
@@ -163,19 +180,19 @@ wordchar_next (char const *buf, char const *end)
   return wordchars_count (buf, end, false);
 }
 
-/* In the buffer BUF, return true if the character whose encoding
+/* In the buffer BUF, return nonzero if the character whose encoding
    contains the byte before CUR is a word constituent.  The buffer
    ends at END.  */
-bool
+size_t
 wordchar_prev (char const *buf, char const *cur, char const *end)
 {
   if (buf == cur)
-    return false;
-  cur--;
-  wint_t ws = word_start[to_uchar (*cur)];
-  if (! localeinfo.multibyte)
-    return ws == 1;
+    return 0;
+  unsigned char b = *--cur;
+  if (! localeinfo.multibyte
+      || (localeinfo.using_utf8 && localeinfo.sbclen[b] != -2))
+    return sbwordchar[b];
   char const *p = buf;
   cur -= mb_goback (&p, cur, end);
-  return wordchar_next (cur, end) != 0;
+  return wordchar_next (cur, end);
 }

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


commit fdf9fadd03160680e4d3edc886b1e31e424b535f
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Fri Dec 23 16:16:01 2016 -0800

    grep: improve word checking with UTF-8
    
    * src/searchutils.c: Do not include <verify.h>.
    (word_start): Remove, replacing with ...
    (sbwordchar): New static var.  All uses changed.
    (wordchar_prev): Return size_t, not bool, as this generates
    slightly better code.  Go back faster if UTF-8.

diff --git a/src/search.h b/src/search.h
index 1def4d6..b700ed5 100644
--- a/src/search.h
+++ b/src/search.h
@@ -50,7 +50,7 @@ extern void wordinit (void);
 extern kwset_t kwsinit (bool);
 extern size_t wordchars_size (char const *, char const *);
 extern size_t wordchar_next (char const *, char const *);
-extern bool wordchar_prev (char const *, char const *, char const *);
+extern size_t wordchar_prev (char const *, char const *, char const *);
 extern ptrdiff_t mb_goback (char const **, char const *, char const *);
 
 /* dfasearch.c */
diff --git a/src/searchutils.c b/src/searchutils.c
index 6f6ae0b..3ba3cdb 100644
--- a/src/searchutils.c
+++ b/src/searchutils.c
@@ -22,14 +22,9 @@
 #define SYSTEM_INLINE _GL_EXTERN_INLINE
 #include "search.h"
 
-#include <verify.h>
-
-/* For each byte B, word_start[B] is 1 if B is a single-byte character
-   that is a word constituent, 0 if B cannot start a word constituent,
-   and -1 if B might be or might not be the start of a word
-   constituent.  */
-static wint_t word_start[NCHAR];
-verify (WEOF != 0 && WEOF != 1);
+/* For each byte B, sbwordchar[B] is true if B is a single-byte
+   character that is a word constituent, and is false otherwise.  */
+static bool sbwordchar[NCHAR];
 
 /* Whether -w considers WC to be a word constituent.  */
 static bool
@@ -42,8 +37,7 @@ void
 wordinit (void)
 {
   for (int i = 0; i < NCHAR; i++)
-    word_start[i] = (localeinfo.sbclen[i] == -2 ? WEOF
-                     : wordchar (localeinfo.sbctowc[i]));
+    sbwordchar[i] = wordchar (localeinfo.sbctowc[i]);
 }
 
 kwset_t
@@ -94,23 +88,46 @@ mb_goback (char const **mb_start, char const *cur, char const *end)
 {
   const char *p = *mb_start;
   const char *p0 = p;
-  mbstate_t cur_state;
 
-  memset (&cur_state, 0, sizeof cur_state);
+  if (cur <= p)
+    return cur - p;
 
-  while (p < cur)
+  if (localeinfo.using_utf8)
     {
-      size_t clen = mb_clen (p, end - p, &cur_state);
-
-      if ((size_t) -2 <= clen)
+      p = cur;
+
+      if (cur < end && (*cur & 0xc0) == 0x80)
+        for (int i = 1; i <= 3; i++)
+          if ((cur[-i] & 0xc0) != 0x80)
+            {
+              mbstate_t mbs = { 0 };
+              size_t clen = mb_clen (cur - i, end - (cur - i), &mbs);
+              if (i < clen && clen < (size_t) -2)
+                {
+                  p0 = cur - i;
+                  p = p0 + clen;
+                }
+              break;
+            }
+    }
+  else
+    {
+      mbstate_t mbs = { 0 };
+      do
         {
-          /* An invalid sequence, or a truncated multibyte character.
-             Treat it as a single byte character.  */
-          clen = 1;
-          memset (&cur_state, 0, sizeof cur_state);
+          size_t clen = mb_clen (p, end - p, &mbs);
+
+          if ((size_t) -2 <= clen)
+            {
+              /* An invalid sequence, or a truncated multibyte character.
+                 Treat it as a single byte character.  */
+              clen = 1;
+              memset (&mbs, 0, sizeof mbs);
+            }
+          p0 = p;
+          p += clen;
         }
-      p0 = p;
-      p += clen;
+      while (p < cur);
     }
 
   *mb_start = p;
@@ -127,11 +144,11 @@ wordchars_count (char const *buf, char const *end, bool countall)
   mbstate_t mbs = { 0 };
   while (n < end - buf)
     {
-      wint_t ws = word_start[to_uchar (buf[n])];
-      if (ws == 0)
-        break;
-      else if (ws == 1)
+      unsigned char b = buf[n];
+      if (sbwordchar[b])
         n++;
+      else if (localeinfo.sbclen[b] != -2)
+        break;
       else
         {
           wchar_t wc = 0;
@@ -163,19 +180,19 @@ wordchar_next (char const *buf, char const *end)
   return wordchars_count (buf, end, false);
 }
 
-/* In the buffer BUF, return true if the character whose encoding
+/* In the buffer BUF, return nonzero if the character whose encoding
    contains the byte before CUR is a word constituent.  The buffer
    ends at END.  */
-bool
+size_t
 wordchar_prev (char const *buf, char const *cur, char const *end)
 {
   if (buf == cur)
-    return false;
-  cur--;
-  wint_t ws = word_start[to_uchar (*cur)];
-  if (! localeinfo.multibyte)
-    return ws == 1;
+    return 0;
+  unsigned char b = *--cur;
+  if (! localeinfo.multibyte
+      || (localeinfo.using_utf8 && localeinfo.sbclen[b] != -2))
+    return sbwordchar[b];
   char const *p = buf;
   cur -= mb_goback (&p, cur, end);
-  return wordchar_next (cur, end) != 0;
+  return wordchar_next (cur, end);
 }

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


commit fdf9fadd03160680e4d3edc886b1e31e424b535f
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Fri Dec 23 16:16:01 2016 -0800

    grep: improve word checking with UTF-8
    
    * src/searchutils.c: Do not include <verify.h>.
    (word_start): Remove, replacing with ...
    (sbwordchar): New static var.  All uses changed.
    (wordchar_prev): Return size_t, not bool, as this generates
    slightly better code.  Go back faster if UTF-8.

diff --git a/src/search.h b/src/search.h
index 1def4d6..b700ed5 100644
--- a/src/search.h
+++ b/src/search.h
@@ -50,7 +50,7 @@ extern void wordinit (void);
 extern kwset_t kwsinit (bool);
 extern size_t wordchars_size (char const *, char const *);
 extern size_t wordchar_next (char const *, char const *);
-extern bool wordchar_prev (char const *, char const *, char const *);
+extern size_t wordchar_prev (char const *, char const *, char const *);
 extern ptrdiff_t mb_goback (char const **, char const *, char const *);
 
 /* dfasearch.c */
diff --git a/src/searchutils.c b/src/searchutils.c
index 6f6ae0b..3ba3cdb 100644
--- a/src/searchutils.c
+++ b/src/searchutils.c
@@ -22,14 +22,9 @@
 #define SYSTEM_INLINE _GL_EXTERN_INLINE
 #include "search.h"
 
-#include <verify.h>
-
-/* For each byte B, word_start[B] is 1 if B is a single-byte character
-   that is a word constituent, 0 if B cannot start a word constituent,
-   and -1 if B might be or might not be the start of a word
-   constituent.  */
-static wint_t word_start[NCHAR];
-verify (WEOF != 0 && WEOF != 1);
+/* For each byte B, sbwordchar[B] is true if B is a single-byte
+   character that is a word constituent, and is false otherwise.  */
+static bool sbwordchar[NCHAR];
 
 /* Whether -w considers WC to be a word constituent.  */
 static bool
@@ -42,8 +37,7 @@ void
 wordinit (void)
 {
   for (int i = 0; i < NCHAR; i++)
-    word_start[i] = (localeinfo.sbclen[i] == -2 ? WEOF
-                     : wordchar (localeinfo.sbctowc[i]));
+    sbwordchar[i] = wordchar (localeinfo.sbctowc[i]);
 }
 
 kwset_t
@@ -94,23 +88,46 @@ mb_goback (char const **mb_start, char const *cur, char const *end)
 {
   const char *p = *mb_start;
   const char *p0 = p;
-  mbstate_t cur_state;
 
-  memset (&cur_state, 0, sizeof cur_state);
+  if (cur <= p)
+    return cur - p;
 
-  while (p < cur)
+  if (localeinfo.using_utf8)
     {
-      size_t clen = mb_clen (p, end - p, &cur_state);
-
-      if ((size_t) -2 <= clen)
+      p = cur;
+
+      if (cur < end && (*cur & 0xc0) == 0x80)
+        for (int i = 1; i <= 3; i++)
+          if ((cur[-i] & 0xc0) != 0x80)
+            {
+              mbstate_t mbs = { 0 };
+              size_t clen = mb_clen (cur - i, end - (cur - i), &mbs);
+              if (i < clen && clen < (size_t) -2)
+                {
+                  p0 = cur - i;
+                  p = p0 + clen;
+                }
+              break;
+            }
+    }
+  else
+    {
+      mbstate_t mbs = { 0 };
+      do
         {
-          /* An invalid sequence, or a truncated multibyte character.
-             Treat it as a single byte character.  */
-          clen = 1;
-          memset (&cur_state, 0, sizeof cur_state);
+          size_t clen = mb_clen (p, end - p, &mbs);
+
+          if ((size_t) -2 <= clen)
+            {
+              /* An invalid sequence, or a truncated multibyte character.
+                 Treat it as a single byte character.  */
+              clen = 1;
+              memset (&mbs, 0, sizeof mbs);
+            }
+          p0 = p;
+          p += clen;
         }
-      p0 = p;
-      p += clen;
+      while (p < cur);
     }
 
   *mb_start = p;
@@ -127,11 +144,11 @@ wordchars_count (char const *buf, char const *end, bool countall)
   mbstate_t mbs = { 0 };
   while (n < end - buf)
     {
-      wint_t ws = word_start[to_uchar (buf[n])];
-      if (ws == 0)
-        break;
-      else if (ws == 1)
+      unsigned char b = buf[n];
+      if (sbwordchar[b])
         n++;
+      else if (localeinfo.sbclen[b] != -2)
+        break;
       else
         {
           wchar_t wc = 0;
@@ -163,19 +180,19 @@ wordchar_next (char const *buf, char const *end)
   return wordchars_count (buf, end, false);
 }
 
-/* In the buffer BUF, return true if the character whose encoding
+/* In the buffer BUF, return nonzero if the character whose encoding
    contains the byte before CUR is a word constituent.  The buffer
    ends at END.  */
-bool
+size_t
 wordchar_prev (char const *buf, char const *cur, char const *end)
 {
   if (buf == cur)
-    return false;
-  cur--;
-  wint_t ws = word_start[to_uchar (*cur)];
-  if (! localeinfo.multibyte)
-    return ws == 1;
+    return 0;
+  unsigned char b = *--cur;
+  if (! localeinfo.multibyte
+      || (localeinfo.using_utf8 && localeinfo.sbclen[b] != -2))
+    return sbwordchar[b];
   char const *p = buf;
   cur -= mb_goback (&p, cur, end);
-  return wordchar_next (cur, end) != 0;
+  return wordchar_next (cur, end);
 }

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


commit fdf9fadd03160680e4d3edc886b1e31e424b535f
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Fri Dec 23 16:16:01 2016 -0800

    grep: improve word checking with UTF-8
    
    * src/searchutils.c: Do not include <verify.h>.
    (word_start): Remove, replacing with ...
    (sbwordchar): New static var.  All uses changed.
    (wordchar_prev): Return size_t, not bool, as this generates
    slightly better code.  Go back faster if UTF-8.

diff --git a/src/search.h b/src/search.h
index 1def4d6..b700ed5 100644
--- a/src/search.h
+++ b/src/search.h
@@ -50,7 +50,7 @@ extern void wordinit (void);
 extern kwset_t kwsinit (bool);
 extern size_t wordchars_size (char const *, char const *);
 extern size_t wordchar_next (char const *, char const *);
-extern bool wordchar_prev (char const *, char const *, char const *);
+extern size_t wordchar_prev (char const *, char const *, char const *);
 extern ptrdiff_t mb_goback (char const **, char const *, char const *);
 
 /* dfasearch.c */
diff --git a/src/searchutils.c b/src/searchutils.c
index 6f6ae0b..3ba3cdb 100644
--- a/src/searchutils.c
+++ b/src/searchutils.c
@@ -22,14 +22,9 @@
 #define SYSTEM_INLINE _GL_EXTERN_INLINE
 #include "search.h"
 
-#include <verify.h>
-
-/* For each byte B, word_start[B] is 1 if B is a single-byte character
-   that is a word constituent, 0 if B cannot start a word constituent,
-   and -1 if B might be or might not be the start of a word
-   constituent.  */
-static wint_t word_start[NCHAR];
-verify (WEOF != 0 && WEOF != 1);
+/* For each byte B, sbwordchar[B] is true if B is a single-byte
+   character that is a word constituent, and is false otherwise.  */
+static bool sbwordchar[NCHAR];
 
 /* Whether -w considers WC to be a word constituent.  */
 static bool
@@ -42,8 +37,7 @@ void
 wordinit (void)
 {
   for (int i = 0; i < NCHAR; i++)
-    word_start[i] = (localeinfo.sbclen[i] == -2 ? WEOF
-                     : wordchar (localeinfo.sbctowc[i]));
+    sbwordchar[i] = wordchar (localeinfo.sbctowc[i]);
 }
 
 kwset_t
@@ -94,23 +88,46 @@ mb_goback (char const **mb_start, char const *cur, char const *end)
 {
   const char *p = *mb_start;
   const char *p0 = p;
-  mbstate_t cur_state;
 
-  memset (&cur_state, 0, sizeof cur_state);
+  if (cur <= p)
+    return cur - p;
 
-  while (p < cur)
+  if (localeinfo.using_utf8)
     {
-      size_t clen = mb_clen (p, end - p, &cur_state);
-
-      if ((size_t) -2 <= clen)
+      p = cur;
+
+      if (cur < end && (*cur & 0xc0) == 0x80)
+        for (int i = 1; i <= 3; i++)
+          if ((cur[-i] & 0xc0) != 0x80)
+            {
+              mbstate_t mbs = { 0 };
+              size_t clen = mb_clen (cur - i, end - (cur - i), &mbs);
+              if (i < clen && clen < (size_t) -2)
+                {
+                  p0 = cur - i;
+                  p = p0 + clen;
+                }
+              break;
+            }
+    }
+  else
+    {
+      mbstate_t mbs = { 0 };
+      do
         {
-          /* An invalid sequence, or a truncated multibyte character.
-             Treat it as a single byte character.  */
-          clen = 1;
-          memset (&cur_state, 0, sizeof cur_state);
+          size_t clen = mb_clen (p, end - p, &mbs);
+
+          if ((size_t) -2 <= clen)
+            {
+              /* An invalid sequence, or a truncated multibyte character.
+                 Treat it as a single byte character.  */
+              clen = 1;
+              memset (&mbs, 0, sizeof mbs);
+            }
+          p0 = p;
+          p += clen;
         }
-      p0 = p;
-      p += clen;
+      while (p < cur);
     }
 
   *mb_start = p;
@@ -127,11 +144,11 @@ wordchars_count (char const *buf, char const *end, bool countall)
   mbstate_t mbs = { 0 };
   while (n < end - buf)
     {
-      wint_t ws = word_start[to_uchar (buf[n])];
-      if (ws == 0)
-        break;
-      else if (ws == 1)
+      unsigned char b = buf[n];
+      if (sbwordchar[b])
         n++;
+      else if (localeinfo.sbclen[b] != -2)
+        break;
       else
         {
           wchar_t wc = 0;
@@ -163,19 +180,19 @@ wordchar_next (char const *buf, char const *end)
   return wordchars_count (buf, end, false);
 }
 
-/* In the buffer BUF, return true if the character whose encoding
+/* In the buffer BUF, return nonzero if the character whose encoding
    contains the byte before CUR is a word constituent.  The buffer
    ends at END.  */
-bool
+size_t
 wordchar_prev (char const *buf, char const *cur, char const *end)
 {
   if (buf == cur)
-    return false;
-  cur--;
-  wint_t ws = word_start[to_uchar (*cur)];
-  if (! localeinfo.multibyte)
-    return ws == 1;
+    return 0;
+  unsigned char b = *--cur;
+  if (! localeinfo.multibyte
+      || (localeinfo.using_utf8 && localeinfo.sbclen[b] != -2))
+    return sbwordchar[b];
   char const *p = buf;
   cur -= mb_goback (&p, cur, end);
-  return wordchar_next (cur, end) != 0;
+  return wordchar_next (cur, end);
 }

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

Summary of changes:
 src/dfasearch.c   |   13 ++---
 src/grep.c        |   11 +++--
 src/kwsearch.c    |   64 ++++++++++++------------
 src/kwset.c       |   95 +++++++++++++++++-------------------
 src/pcresearch.c  |    2 +-
 src/search.h      |    6 ++-
 src/searchutils.c |  141 +++++++++++++++++++++++++++++++++++++++++------------
 src/system.h      |    1 +
 8 files changed, 201 insertions(+), 132 deletions(-)


hooks/post-receive
-- 
grep


From MAILER-DAEMON Fri Dec 23 20:30:34 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cKbAQ-0006y0-EB
	for mharc-grep-commit@gnu.org; Fri, 23 Dec 2016 20:30:34 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:41738)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cKbAN-0006xf-J2
	for grep-commit@gnu.org; Fri, 23 Dec 2016 20:30:32 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cKbAM-0000Yw-Gc
	for grep-commit@gnu.org; Fri, 23 Dec 2016 20:30:31 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:56486)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cKbAM-0000Yl-CD
	for grep-commit@gnu.org; Fri, 23 Dec 2016 20:30:30 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69712)
	id 163442201BC; Sat, 24 Dec 2016 01:30:30 +0000 (UTC)
To: grep-commit@gnu.org
Subject: grep branch, master, updated. v2.27-21-g9ef6d5d
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: fdf9fadd03160680e4d3edc886b1e31e424b535f
X-Git-Newrev: 9ef6d5d5dd03ce90508bef4dd56bf8de82970a02
Message-Id: <20161224013030.163442201BC@vcs.savannah.gnu.org>
Date: Sat, 24 Dec 2016 01:30:29 +0000 (UTC)
From: eggert@cs.ucla.edu (Paul Eggert)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.72
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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 2016 01:30:32 -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  9ef6d5d5dd03ce90508bef4dd56bf8de82970a02 (commit)
      from  fdf9fadd03160680e4d3edc886b1e31e424b535f (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=9ef6d5d5dd03ce90508bef4dd56bf8de82970a02


commit 9ef6d5d5dd03ce90508bef4dd56bf8de82970a02
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Fri Dec 23 17:29:54 2016 -0800

    grep: fix comment in searchutils.c

diff --git a/src/searchutils.c b/src/searchutils.c
index 3ba3cdb..1552ed7 100644
--- a/src/searchutils.c
+++ b/src/searchutils.c
@@ -77,7 +77,7 @@ kwsinit (bool mb_trans)
    start of a multibyte character or is an error-encoding byte.  The
    buffer ends at END (i.e., one past the address of the buffer's last
    byte).  If CUR is already at a boundary, return 0.  If *MB_START is
-   greater than or equal to CUR, return the negative value CUR - *MB_START.
+   greater than CUR, return the negative value CUR - *MB_START.
 
    When returning zero, set *MB_START to CUR.  When returning a
    positive value, set *MB_START to the next boundary after CUR, or to

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

Summary of changes:
 src/searchutils.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
grep


From MAILER-DAEMON Sat Dec 24 08:25:06 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cKmJt-0002sL-UX
	for mharc-grep-commit@gnu.org; Sat, 24 Dec 2016 08:25:05 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:58169)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cKmJr-0002rm-Lk
	for grep-commit@gnu.org; Sat, 24 Dec 2016 08:25:04 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cKmJq-00037b-Mj
	for grep-commit@gnu.org; Sat, 24 Dec 2016 08:25:03 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:59389)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cKmJq-00037C-Iu
	for grep-commit@gnu.org; Sat, 24 Dec 2016 08:25:02 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69698)
	id 56C5D2201BC; Sat, 24 Dec 2016 13:25:02 +0000 (UTC)
To: grep-commit@gnu.org
Subject: grep branch, master, updated. v2.27-22-g405b904
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 9ef6d5d5dd03ce90508bef4dd56bf8de82970a02
X-Git-Newrev: 405b9042e4b67c21c448f285ff8b478846e3ee66
Message-Id: <20161224132502.56C5D2201BC@vcs.savannah.gnu.org>
Date: Sat, 24 Dec 2016 13:25:02 +0000 (UTC)
From: jim@meyering.net (Jim Meyering)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.72
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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 2016 13:25:04 -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  405b9042e4b67c21c448f285ff8b478846e3ee66 (commit)
      from  9ef6d5d5dd03ce90508bef4dd56bf8de82970a02 (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=405b9042e4b67c21c448f285ff8b478846e3ee66


commit 405b9042e4b67c21c448f285ff8b478846e3ee66
Author: Jim Meyering <meyering@fb.com>
Date:   Sat Dec 24 05:24:53 2016 -0800

    maint: fix "syntax-check" failure
    
    * src/grep.c (SEP_STR_GROUP): Declare "static".

diff --git a/src/grep.c b/src/grep.c
index 1c45286..c306ce0 100644
--- a/src/grep.c
+++ b/src/grep.c
@@ -52,7 +52,7 @@
 
 enum { SEP_CHAR_SELECTED = ':' };
 enum { SEP_CHAR_REJECTED = '-' };
-char const SEP_STR_GROUP[] = "--";
+static char const SEP_STR_GROUP[] = "--";
 
 #define AUTHORS \
   proper_name ("Mike Haertel"), \

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

Summary of changes:
 src/grep.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
grep


From MAILER-DAEMON Sun Dec 25 04:54:59 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cL5W7-0005t5-Fa
	for mharc-grep-commit@gnu.org; Sun, 25 Dec 2016 04:54:59 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:52724)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cL5W2-0005sr-MG
	for grep-commit@gnu.org; Sun, 25 Dec 2016 04:54:58 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cL5Vz-0004wV-9E
	for grep-commit@gnu.org; Sun, 25 Dec 2016 04:54:54 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:36247)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cL5Vz-0004wD-4j
	for grep-commit@gnu.org; Sun, 25 Dec 2016 04:54:51 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69698)
	id C0601220166; Sun, 25 Dec 2016 09:54:50 +0000 (UTC)
To: grep-commit@gnu.org
Subject: grep branch, master, updated. v2.27-26-g31a5e0f
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 405b9042e4b67c21c448f285ff8b478846e3ee66
X-Git-Newrev: 31a5e0f4f7c365bbad1436f97e684254886f42a3
Message-Id: <20161225095450.C0601220166@vcs.savannah.gnu.org>
Date: Sun, 25 Dec 2016 09:54:50 +0000 (UTC)
From: jim@meyering.net (Jim Meyering)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.72
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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: Sun, 25 Dec 2016 09:54:58 -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  31a5e0f4f7c365bbad1436f97e684254886f42a3 (commit)
       via  96848ac6c02f596aa542fca769c7b7aeea446ab4 (commit)
       via  41268e548dfe04f9a019c5db099266391c3a4103 (commit)
       via  9365ed6536d4fabf42ec17fef1bbe5d78884f950 (commit)
      from  405b9042e4b67c21c448f285ff8b478846e3ee66 (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=31a5e0f4f7c365bbad1436f97e684254886f42a3


commit 31a5e0f4f7c365bbad1436f97e684254886f42a3
Author: Zev Weiss <zev@bewilderbeest.net>
Date:   Sun Dec 25 02:57:09 2016 -0600

    pcresearch: thread safety
    
    * src/pcresearch.c (pcre_comp): New struct to hold previously-global
    state.
    (jit_exec): Operate on a pcre_comp parameter instead of global state.
    (Pcompile): Allocate and return a pcre_comp instead of setting global
    variables.
    (Pexecute): Operate on a pcre_comp parameter instead of global state.

diff --git a/src/pcresearch.c b/src/pcresearch.c
index 54d9430..5bc9328 100644
--- a/src/pcresearch.c
+++ b/src/pcresearch.c
@@ -29,48 +29,57 @@
    in pcre_exec.  */
 enum { NSUB = 300 };
 
-/* Compiled internal form of a Perl regular expression.  */
-static pcre *cre;
-
-/* Additional information about the pattern.  */
-static pcre_extra *extra;
-
 # ifndef PCRE_STUDY_JIT_COMPILE
 #  define PCRE_STUDY_JIT_COMPILE 0
 # endif
 
+struct pcre_comp
+{
+  /* Compiled internal form of a Perl regular expression.  */
+  pcre *cre;
+
+  /* Additional information about the pattern.  */
+  pcre_extra *extra;
+
 # if PCRE_STUDY_JIT_COMPILE
-/* Maximum size of the JIT stack.  */
-static int jit_stack_size;
+  /* Maximum size of the JIT stack.  */
+  int jit_stack_size;
 # endif
 
+  /* Table, indexed by ! (flag & PCRE_NOTBOL), of whether the empty
+     string matches when that flag is used.  */
+  int empty_match[2];
+
+  pcre_jit_stack *jit_stack;
+};
+
+
 /* Match the already-compiled PCRE pattern against the data in SUBJECT,
    of size SEARCH_BYTES and starting with offset SEARCH_OFFSET, with
    options OPTIONS, and storing resulting matches into SUB.  Return
    the (nonnegative) match location or a (negative) error number.  */
 static int
-jit_exec (char const *subject, int search_bytes, int search_offset,
-          int options, int *sub)
+jit_exec (struct pcre_comp *pc, char const *subject, int search_bytes,
+          int search_offset, int options, int *sub)
 {
   while (true)
     {
-      int e = pcre_exec (cre, extra, subject, search_bytes, search_offset,
-                         options, sub, NSUB);
+      int e = pcre_exec (pc->cre, pc->extra, subject, search_bytes,
+                         search_offset, options, sub, NSUB);
 
 # if PCRE_STUDY_JIT_COMPILE
       if (e == PCRE_ERROR_JIT_STACKLIMIT
-          && 0 < jit_stack_size && jit_stack_size <= INT_MAX / 2)
+          && 0 < pc->jit_stack_size && pc->jit_stack_size <= INT_MAX / 2)
         {
-          int old_size = jit_stack_size;
-          int new_size = jit_stack_size = old_size * 2;
-          static pcre_jit_stack *jit_stack;
-          if (jit_stack)
-            pcre_jit_stack_free (jit_stack);
-          jit_stack = pcre_jit_stack_alloc (old_size, new_size);
-          if (!jit_stack)
+          int old_size = pc->jit_stack_size;
+          int new_size = pc->jit_stack_size = old_size * 2;
+          if (pc->jit_stack)
+            pcre_jit_stack_free (pc->jit_stack);
+          pc->jit_stack = pcre_jit_stack_alloc (old_size, new_size);
+          if (!pc->jit_stack)
             die (EXIT_TROUBLE, 0,
                  _("failed to allocate memory for the PCRE JIT stack"));
-          pcre_assign_jit_stack (extra, NULL, jit_stack);
+          pcre_assign_jit_stack (pc->extra, NULL, pc->jit_stack);
           continue;
         }
 # endif
@@ -81,12 +90,6 @@ jit_exec (char const *subject, int search_bytes, int search_offset,
 
 #endif
 
-#if HAVE_LIBPCRE
-/* Table, indexed by ! (flag & PCRE_NOTBOL), of whether the empty
-   string matches when that flag is used.  */
-static int empty_match[2];
-#endif
-
 void *
 Pcompile (char const *pattern, size_t size, reg_syntax_t ignored)
 {
@@ -109,6 +112,7 @@ Pcompile (char const *pattern, size_t size, reg_syntax_t ignored)
   char *n = re;
   char const *p;
   char const *pnul;
+  struct pcre_comp *pc = xcalloc (1, sizeof (*pc));
 
   if (localeinfo.multibyte)
     {
@@ -151,32 +155,33 @@ Pcompile (char const *pattern, size_t size, reg_syntax_t ignored)
   if (match_lines)
     strcpy (n, xsuffix);
 
-  cre = pcre_compile (re, flags, &ep, &e, pcre_maketables ());
-  if (!cre)
+  pc->cre = pcre_compile (re, flags, &ep, &e, pcre_maketables ());
+  if (!pc->cre)
     die (EXIT_TROUBLE, 0, "%s", ep);
 
-  extra = pcre_study (cre, PCRE_STUDY_JIT_COMPILE, &ep);
+  pc->extra = pcre_study (pc->cre, PCRE_STUDY_JIT_COMPILE, &ep);
   if (ep)
     die (EXIT_TROUBLE, 0, "%s", ep);
 
 # if PCRE_STUDY_JIT_COMPILE
-  if (pcre_fullinfo (cre, extra, PCRE_INFO_JIT, &e))
+  if (pcre_fullinfo (pc->cre, pc->extra, PCRE_INFO_JIT, &e))
     die (EXIT_TROUBLE, 0, _("internal error (should never happen)"));
 
   /* The PCRE documentation says that a 32 KiB stack is the default.  */
   if (e)
-    jit_stack_size = 32 << 10;
+    pc->jit_stack_size = 32 << 10;
 # endif
 
   free (re);
 
   int sub[NSUB];
-  empty_match[false] = pcre_exec (cre, extra, "", 0, 0,
-                                  PCRE_NOTBOL, sub, NSUB);
-  empty_match[true] = pcre_exec (cre, extra, "", 0, 0, 0, sub, NSUB);
-#endif /* HAVE_LIBPCRE */
+  pc->empty_match[false] = pcre_exec (pc->cre, pc->extra, "", 0, 0,
+                                      PCRE_NOTBOL, sub, NSUB);
+  pc->empty_match[true] = pcre_exec (pc->cre, pc->extra, "", 0, 0, 0, sub,
+                                     NSUB);
 
-  return NULL;
+  return pc;
+#endif /* HAVE_LIBPCRE */
 }
 
 size_t
@@ -193,6 +198,7 @@ Pexecute (void *vcp, char const *buf, size_t size, size_t *match_size,
   char const *line_start = buf;
   int e = PCRE_ERROR_NOMATCH;
   char const *line_end;
+  struct pcre_comp *pc = vcp;
 
   /* The search address to pass to pcre_exec.  This is the start of
      the buffer, or just past the most-recently discovered encoding
@@ -228,7 +234,7 @@ Pexecute (void *vcp, char const *buf, size_t size, size_t *match_size,
           if (p == line_end)
             {
               sub[0] = sub[1] = search_offset;
-              e = empty_match[bol];
+              e = pc->empty_match[bol];
               break;
             }
 
@@ -236,7 +242,7 @@ Pexecute (void *vcp, char const *buf, size_t size, size_t *match_size,
           if (!bol)
             options |= PCRE_NOTBOL;
 
-          e = jit_exec (subject, line_end - subject, search_offset,
+          e = jit_exec (pc, subject, line_end - subject, search_offset,
                         options, sub);
           if (e != PCRE_ERROR_BADUTF8)
             break;
@@ -251,10 +257,10 @@ Pexecute (void *vcp, char const *buf, size_t size, size_t *match_size,
                      This optimization is valid if VALID_BYTES is zero,
                      which means SEARCH_OFFSET is also zero.  */
                   sub[1] = 0;
-                  e = empty_match[bol];
+                  e = pc->empty_match[bol];
                 }
               else
-                e = jit_exec (subject, valid_bytes, search_offset,
+                e = jit_exec (pc, subject, valid_bytes, search_offset,
                               options | PCRE_NO_UTF8_CHECK | PCRE_NOTEOL, sub);
 
               if (e != PCRE_ERROR_NOMATCH)

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


commit 31a5e0f4f7c365bbad1436f97e684254886f42a3
Author: Zev Weiss <zev@bewilderbeest.net>
Date:   Sun Dec 25 02:57:09 2016 -0600

    pcresearch: thread safety
    
    * src/pcresearch.c (pcre_comp): New struct to hold previously-global
    state.
    (jit_exec): Operate on a pcre_comp parameter instead of global state.
    (Pcompile): Allocate and return a pcre_comp instead of setting global
    variables.
    (Pexecute): Operate on a pcre_comp parameter instead of global state.

diff --git a/src/pcresearch.c b/src/pcresearch.c
index 54d9430..5bc9328 100644
--- a/src/pcresearch.c
+++ b/src/pcresearch.c
@@ -29,48 +29,57 @@
    in pcre_exec.  */
 enum { NSUB = 300 };
 
-/* Compiled internal form of a Perl regular expression.  */
-static pcre *cre;
-
-/* Additional information about the pattern.  */
-static pcre_extra *extra;
-
 # ifndef PCRE_STUDY_JIT_COMPILE
 #  define PCRE_STUDY_JIT_COMPILE 0
 # endif
 
+struct pcre_comp
+{
+  /* Compiled internal form of a Perl regular expression.  */
+  pcre *cre;
+
+  /* Additional information about the pattern.  */
+  pcre_extra *extra;
+
 # if PCRE_STUDY_JIT_COMPILE
-/* Maximum size of the JIT stack.  */
-static int jit_stack_size;
+  /* Maximum size of the JIT stack.  */
+  int jit_stack_size;
 # endif
 
+  /* Table, indexed by ! (flag & PCRE_NOTBOL), of whether the empty
+     string matches when that flag is used.  */
+  int empty_match[2];
+
+  pcre_jit_stack *jit_stack;
+};
+
+
 /* Match the already-compiled PCRE pattern against the data in SUBJECT,
    of size SEARCH_BYTES and starting with offset SEARCH_OFFSET, with
    options OPTIONS, and storing resulting matches into SUB.  Return
    the (nonnegative) match location or a (negative) error number.  */
 static int
-jit_exec (char const *subject, int search_bytes, int search_offset,
-          int options, int *sub)
+jit_exec (struct pcre_comp *pc, char const *subject, int search_bytes,
+          int search_offset, int options, int *sub)
 {
   while (true)
     {
-      int e = pcre_exec (cre, extra, subject, search_bytes, search_offset,
-                         options, sub, NSUB);
+      int e = pcre_exec (pc->cre, pc->extra, subject, search_bytes,
+                         search_offset, options, sub, NSUB);
 
 # if PCRE_STUDY_JIT_COMPILE
       if (e == PCRE_ERROR_JIT_STACKLIMIT
-          && 0 < jit_stack_size && jit_stack_size <= INT_MAX / 2)
+          && 0 < pc->jit_stack_size && pc->jit_stack_size <= INT_MAX / 2)
         {
-          int old_size = jit_stack_size;
-          int new_size = jit_stack_size = old_size * 2;
-          static pcre_jit_stack *jit_stack;
-          if (jit_stack)
-            pcre_jit_stack_free (jit_stack);
-          jit_stack = pcre_jit_stack_alloc (old_size, new_size);
-          if (!jit_stack)
+          int old_size = pc->jit_stack_size;
+          int new_size = pc->jit_stack_size = old_size * 2;
+          if (pc->jit_stack)
+            pcre_jit_stack_free (pc->jit_stack);
+          pc->jit_stack = pcre_jit_stack_alloc (old_size, new_size);
+          if (!pc->jit_stack)
             die (EXIT_TROUBLE, 0,
                  _("failed to allocate memory for the PCRE JIT stack"));
-          pcre_assign_jit_stack (extra, NULL, jit_stack);
+          pcre_assign_jit_stack (pc->extra, NULL, pc->jit_stack);
           continue;
         }
 # endif
@@ -81,12 +90,6 @@ jit_exec (char const *subject, int search_bytes, int search_offset,
 
 #endif
 
-#if HAVE_LIBPCRE
-/* Table, indexed by ! (flag & PCRE_NOTBOL), of whether the empty
-   string matches when that flag is used.  */
-static int empty_match[2];
-#endif
-
 void *
 Pcompile (char const *pattern, size_t size, reg_syntax_t ignored)
 {
@@ -109,6 +112,7 @@ Pcompile (char const *pattern, size_t size, reg_syntax_t ignored)
   char *n = re;
   char const *p;
   char const *pnul;
+  struct pcre_comp *pc = xcalloc (1, sizeof (*pc));
 
   if (localeinfo.multibyte)
     {
@@ -151,32 +155,33 @@ Pcompile (char const *pattern, size_t size, reg_syntax_t ignored)
   if (match_lines)
     strcpy (n, xsuffix);
 
-  cre = pcre_compile (re, flags, &ep, &e, pcre_maketables ());
-  if (!cre)
+  pc->cre = pcre_compile (re, flags, &ep, &e, pcre_maketables ());
+  if (!pc->cre)
     die (EXIT_TROUBLE, 0, "%s", ep);
 
-  extra = pcre_study (cre, PCRE_STUDY_JIT_COMPILE, &ep);
+  pc->extra = pcre_study (pc->cre, PCRE_STUDY_JIT_COMPILE, &ep);
   if (ep)
     die (EXIT_TROUBLE, 0, "%s", ep);
 
 # if PCRE_STUDY_JIT_COMPILE
-  if (pcre_fullinfo (cre, extra, PCRE_INFO_JIT, &e))
+  if (pcre_fullinfo (pc->cre, pc->extra, PCRE_INFO_JIT, &e))
     die (EXIT_TROUBLE, 0, _("internal error (should never happen)"));
 
   /* The PCRE documentation says that a 32 KiB stack is the default.  */
   if (e)
-    jit_stack_size = 32 << 10;
+    pc->jit_stack_size = 32 << 10;
 # endif
 
   free (re);
 
   int sub[NSUB];
-  empty_match[false] = pcre_exec (cre, extra, "", 0, 0,
-                                  PCRE_NOTBOL, sub, NSUB);
-  empty_match[true] = pcre_exec (cre, extra, "", 0, 0, 0, sub, NSUB);
-#endif /* HAVE_LIBPCRE */
+  pc->empty_match[false] = pcre_exec (pc->cre, pc->extra, "", 0, 0,
+                                      PCRE_NOTBOL, sub, NSUB);
+  pc->empty_match[true] = pcre_exec (pc->cre, pc->extra, "", 0, 0, 0, sub,
+                                     NSUB);
 
-  return NULL;
+  return pc;
+#endif /* HAVE_LIBPCRE */
 }
 
 size_t
@@ -193,6 +198,7 @@ Pexecute (void *vcp, char const *buf, size_t size, size_t *match_size,
   char const *line_start = buf;
   int e = PCRE_ERROR_NOMATCH;
   char const *line_end;
+  struct pcre_comp *pc = vcp;
 
   /* The search address to pass to pcre_exec.  This is the start of
      the buffer, or just past the most-recently discovered encoding
@@ -228,7 +234,7 @@ Pexecute (void *vcp, char const *buf, size_t size, size_t *match_size,
           if (p == line_end)
             {
               sub[0] = sub[1] = search_offset;
-              e = empty_match[bol];
+              e = pc->empty_match[bol];
               break;
             }
 
@@ -236,7 +242,7 @@ Pexecute (void *vcp, char const *buf, size_t size, size_t *match_size,
           if (!bol)
             options |= PCRE_NOTBOL;
 
-          e = jit_exec (subject, line_end - subject, search_offset,
+          e = jit_exec (pc, subject, line_end - subject, search_offset,
                         options, sub);
           if (e != PCRE_ERROR_BADUTF8)
             break;
@@ -251,10 +257,10 @@ Pexecute (void *vcp, char const *buf, size_t size, size_t *match_size,
                      This optimization is valid if VALID_BYTES is zero,
                      which means SEARCH_OFFSET is also zero.  */
                   sub[1] = 0;
-                  e = empty_match[bol];
+                  e = pc->empty_match[bol];
                 }
               else
-                e = jit_exec (subject, valid_bytes, search_offset,
+                e = jit_exec (pc, subject, valid_bytes, search_offset,
                               options | PCRE_NO_UTF8_CHECK | PCRE_NOTEOL, sub);
 
               if (e != PCRE_ERROR_NOMATCH)

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


commit 31a5e0f4f7c365bbad1436f97e684254886f42a3
Author: Zev Weiss <zev@bewilderbeest.net>
Date:   Sun Dec 25 02:57:09 2016 -0600

    pcresearch: thread safety
    
    * src/pcresearch.c (pcre_comp): New struct to hold previously-global
    state.
    (jit_exec): Operate on a pcre_comp parameter instead of global state.
    (Pcompile): Allocate and return a pcre_comp instead of setting global
    variables.
    (Pexecute): Operate on a pcre_comp parameter instead of global state.

diff --git a/src/pcresearch.c b/src/pcresearch.c
index 54d9430..5bc9328 100644
--- a/src/pcresearch.c
+++ b/src/pcresearch.c
@@ -29,48 +29,57 @@
    in pcre_exec.  */
 enum { NSUB = 300 };
 
-/* Compiled internal form of a Perl regular expression.  */
-static pcre *cre;
-
-/* Additional information about the pattern.  */
-static pcre_extra *extra;
-
 # ifndef PCRE_STUDY_JIT_COMPILE
 #  define PCRE_STUDY_JIT_COMPILE 0
 # endif
 
+struct pcre_comp
+{
+  /* Compiled internal form of a Perl regular expression.  */
+  pcre *cre;
+
+  /* Additional information about the pattern.  */
+  pcre_extra *extra;
+
 # if PCRE_STUDY_JIT_COMPILE
-/* Maximum size of the JIT stack.  */
-static int jit_stack_size;
+  /* Maximum size of the JIT stack.  */
+  int jit_stack_size;
 # endif
 
+  /* Table, indexed by ! (flag & PCRE_NOTBOL), of whether the empty
+     string matches when that flag is used.  */
+  int empty_match[2];
+
+  pcre_jit_stack *jit_stack;
+};
+
+
 /* Match the already-compiled PCRE pattern against the data in SUBJECT,
    of size SEARCH_BYTES and starting with offset SEARCH_OFFSET, with
    options OPTIONS, and storing resulting matches into SUB.  Return
    the (nonnegative) match location or a (negative) error number.  */
 static int
-jit_exec (char const *subject, int search_bytes, int search_offset,
-          int options, int *sub)
+jit_exec (struct pcre_comp *pc, char const *subject, int search_bytes,
+          int search_offset, int options, int *sub)
 {
   while (true)
     {
-      int e = pcre_exec (cre, extra, subject, search_bytes, search_offset,
-                         options, sub, NSUB);
+      int e = pcre_exec (pc->cre, pc->extra, subject, search_bytes,
+                         search_offset, options, sub, NSUB);
 
 # if PCRE_STUDY_JIT_COMPILE
       if (e == PCRE_ERROR_JIT_STACKLIMIT
-          && 0 < jit_stack_size && jit_stack_size <= INT_MAX / 2)
+          && 0 < pc->jit_stack_size && pc->jit_stack_size <= INT_MAX / 2)
         {
-          int old_size = jit_stack_size;
-          int new_size = jit_stack_size = old_size * 2;
-          static pcre_jit_stack *jit_stack;
-          if (jit_stack)
-            pcre_jit_stack_free (jit_stack);
-          jit_stack = pcre_jit_stack_alloc (old_size, new_size);
-          if (!jit_stack)
+          int old_size = pc->jit_stack_size;
+          int new_size = pc->jit_stack_size = old_size * 2;
+          if (pc->jit_stack)
+            pcre_jit_stack_free (pc->jit_stack);
+          pc->jit_stack = pcre_jit_stack_alloc (old_size, new_size);
+          if (!pc->jit_stack)
             die (EXIT_TROUBLE, 0,
                  _("failed to allocate memory for the PCRE JIT stack"));
-          pcre_assign_jit_stack (extra, NULL, jit_stack);
+          pcre_assign_jit_stack (pc->extra, NULL, pc->jit_stack);
           continue;
         }
 # endif
@@ -81,12 +90,6 @@ jit_exec (char const *subject, int search_bytes, int search_offset,
 
 #endif
 
-#if HAVE_LIBPCRE
-/* Table, indexed by ! (flag & PCRE_NOTBOL), of whether the empty
-   string matches when that flag is used.  */
-static int empty_match[2];
-#endif
-
 void *
 Pcompile (char const *pattern, size_t size, reg_syntax_t ignored)
 {
@@ -109,6 +112,7 @@ Pcompile (char const *pattern, size_t size, reg_syntax_t ignored)
   char *n = re;
   char const *p;
   char const *pnul;
+  struct pcre_comp *pc = xcalloc (1, sizeof (*pc));
 
   if (localeinfo.multibyte)
     {
@@ -151,32 +155,33 @@ Pcompile (char const *pattern, size_t size, reg_syntax_t ignored)
   if (match_lines)
     strcpy (n, xsuffix);
 
-  cre = pcre_compile (re, flags, &ep, &e, pcre_maketables ());
-  if (!cre)
+  pc->cre = pcre_compile (re, flags, &ep, &e, pcre_maketables ());
+  if (!pc->cre)
     die (EXIT_TROUBLE, 0, "%s", ep);
 
-  extra = pcre_study (cre, PCRE_STUDY_JIT_COMPILE, &ep);
+  pc->extra = pcre_study (pc->cre, PCRE_STUDY_JIT_COMPILE, &ep);
   if (ep)
     die (EXIT_TROUBLE, 0, "%s", ep);
 
 # if PCRE_STUDY_JIT_COMPILE
-  if (pcre_fullinfo (cre, extra, PCRE_INFO_JIT, &e))
+  if (pcre_fullinfo (pc->cre, pc->extra, PCRE_INFO_JIT, &e))
     die (EXIT_TROUBLE, 0, _("internal error (should never happen)"));
 
   /* The PCRE documentation says that a 32 KiB stack is the default.  */
   if (e)
-    jit_stack_size = 32 << 10;
+    pc->jit_stack_size = 32 << 10;
 # endif
 
   free (re);
 
   int sub[NSUB];
-  empty_match[false] = pcre_exec (cre, extra, "", 0, 0,
-                                  PCRE_NOTBOL, sub, NSUB);
-  empty_match[true] = pcre_exec (cre, extra, "", 0, 0, 0, sub, NSUB);
-#endif /* HAVE_LIBPCRE */
+  pc->empty_match[false] = pcre_exec (pc->cre, pc->extra, "", 0, 0,
+                                      PCRE_NOTBOL, sub, NSUB);
+  pc->empty_match[true] = pcre_exec (pc->cre, pc->extra, "", 0, 0, 0, sub,
+                                     NSUB);
 
-  return NULL;
+  return pc;
+#endif /* HAVE_LIBPCRE */
 }
 
 size_t
@@ -193,6 +198,7 @@ Pexecute (void *vcp, char const *buf, size_t size, size_t *match_size,
   char const *line_start = buf;
   int e = PCRE_ERROR_NOMATCH;
   char const *line_end;
+  struct pcre_comp *pc = vcp;
 
   /* The search address to pass to pcre_exec.  This is the start of
      the buffer, or just past the most-recently discovered encoding
@@ -228,7 +234,7 @@ Pexecute (void *vcp, char const *buf, size_t size, size_t *match_size,
           if (p == line_end)
             {
               sub[0] = sub[1] = search_offset;
-              e = empty_match[bol];
+              e = pc->empty_match[bol];
               break;
             }
 
@@ -236,7 +242,7 @@ Pexecute (void *vcp, char const *buf, size_t size, size_t *match_size,
           if (!bol)
             options |= PCRE_NOTBOL;
 
-          e = jit_exec (subject, line_end - subject, search_offset,
+          e = jit_exec (pc, subject, line_end - subject, search_offset,
                         options, sub);
           if (e != PCRE_ERROR_BADUTF8)
             break;
@@ -251,10 +257,10 @@ Pexecute (void *vcp, char const *buf, size_t size, size_t *match_size,
                      This optimization is valid if VALID_BYTES is zero,
                      which means SEARCH_OFFSET is also zero.  */
                   sub[1] = 0;
-                  e = empty_match[bol];
+                  e = pc->empty_match[bol];
                 }
               else
-                e = jit_exec (subject, valid_bytes, search_offset,
+                e = jit_exec (pc, subject, valid_bytes, search_offset,
                               options | PCRE_NO_UTF8_CHECK | PCRE_NOTEOL, sub);
 
               if (e != PCRE_ERROR_NOMATCH)

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


commit 31a5e0f4f7c365bbad1436f97e684254886f42a3
Author: Zev Weiss <zev@bewilderbeest.net>
Date:   Sun Dec 25 02:57:09 2016 -0600

    pcresearch: thread safety
    
    * src/pcresearch.c (pcre_comp): New struct to hold previously-global
    state.
    (jit_exec): Operate on a pcre_comp parameter instead of global state.
    (Pcompile): Allocate and return a pcre_comp instead of setting global
    variables.
    (Pexecute): Operate on a pcre_comp parameter instead of global state.

diff --git a/src/pcresearch.c b/src/pcresearch.c
index 54d9430..5bc9328 100644
--- a/src/pcresearch.c
+++ b/src/pcresearch.c
@@ -29,48 +29,57 @@
    in pcre_exec.  */
 enum { NSUB = 300 };
 
-/* Compiled internal form of a Perl regular expression.  */
-static pcre *cre;
-
-/* Additional information about the pattern.  */
-static pcre_extra *extra;
-
 # ifndef PCRE_STUDY_JIT_COMPILE
 #  define PCRE_STUDY_JIT_COMPILE 0
 # endif
 
+struct pcre_comp
+{
+  /* Compiled internal form of a Perl regular expression.  */
+  pcre *cre;
+
+  /* Additional information about the pattern.  */
+  pcre_extra *extra;
+
 # if PCRE_STUDY_JIT_COMPILE
-/* Maximum size of the JIT stack.  */
-static int jit_stack_size;
+  /* Maximum size of the JIT stack.  */
+  int jit_stack_size;
 # endif
 
+  /* Table, indexed by ! (flag & PCRE_NOTBOL), of whether the empty
+     string matches when that flag is used.  */
+  int empty_match[2];
+
+  pcre_jit_stack *jit_stack;
+};
+
+
 /* Match the already-compiled PCRE pattern against the data in SUBJECT,
    of size SEARCH_BYTES and starting with offset SEARCH_OFFSET, with
    options OPTIONS, and storing resulting matches into SUB.  Return
    the (nonnegative) match location or a (negative) error number.  */
 static int
-jit_exec (char const *subject, int search_bytes, int search_offset,
-          int options, int *sub)
+jit_exec (struct pcre_comp *pc, char const *subject, int search_bytes,
+          int search_offset, int options, int *sub)
 {
   while (true)
     {
-      int e = pcre_exec (cre, extra, subject, search_bytes, search_offset,
-                         options, sub, NSUB);
+      int e = pcre_exec (pc->cre, pc->extra, subject, search_bytes,
+                         search_offset, options, sub, NSUB);
 
 # if PCRE_STUDY_JIT_COMPILE
       if (e == PCRE_ERROR_JIT_STACKLIMIT
-          && 0 < jit_stack_size && jit_stack_size <= INT_MAX / 2)
+          && 0 < pc->jit_stack_size && pc->jit_stack_size <= INT_MAX / 2)
         {
-          int old_size = jit_stack_size;
-          int new_size = jit_stack_size = old_size * 2;
-          static pcre_jit_stack *jit_stack;
-          if (jit_stack)
-            pcre_jit_stack_free (jit_stack);
-          jit_stack = pcre_jit_stack_alloc (old_size, new_size);
-          if (!jit_stack)
+          int old_size = pc->jit_stack_size;
+          int new_size = pc->jit_stack_size = old_size * 2;
+          if (pc->jit_stack)
+            pcre_jit_stack_free (pc->jit_stack);
+          pc->jit_stack = pcre_jit_stack_alloc (old_size, new_size);
+          if (!pc->jit_stack)
             die (EXIT_TROUBLE, 0,
                  _("failed to allocate memory for the PCRE JIT stack"));
-          pcre_assign_jit_stack (extra, NULL, jit_stack);
+          pcre_assign_jit_stack (pc->extra, NULL, pc->jit_stack);
           continue;
         }
 # endif
@@ -81,12 +90,6 @@ jit_exec (char const *subject, int search_bytes, int search_offset,
 
 #endif
 
-#if HAVE_LIBPCRE
-/* Table, indexed by ! (flag & PCRE_NOTBOL), of whether the empty
-   string matches when that flag is used.  */
-static int empty_match[2];
-#endif
-
 void *
 Pcompile (char const *pattern, size_t size, reg_syntax_t ignored)
 {
@@ -109,6 +112,7 @@ Pcompile (char const *pattern, size_t size, reg_syntax_t ignored)
   char *n = re;
   char const *p;
   char const *pnul;
+  struct pcre_comp *pc = xcalloc (1, sizeof (*pc));
 
   if (localeinfo.multibyte)
     {
@@ -151,32 +155,33 @@ Pcompile (char const *pattern, size_t size, reg_syntax_t ignored)
   if (match_lines)
     strcpy (n, xsuffix);
 
-  cre = pcre_compile (re, flags, &ep, &e, pcre_maketables ());
-  if (!cre)
+  pc->cre = pcre_compile (re, flags, &ep, &e, pcre_maketables ());
+  if (!pc->cre)
     die (EXIT_TROUBLE, 0, "%s", ep);
 
-  extra = pcre_study (cre, PCRE_STUDY_JIT_COMPILE, &ep);
+  pc->extra = pcre_study (pc->cre, PCRE_STUDY_JIT_COMPILE, &ep);
   if (ep)
     die (EXIT_TROUBLE, 0, "%s", ep);
 
 # if PCRE_STUDY_JIT_COMPILE
-  if (pcre_fullinfo (cre, extra, PCRE_INFO_JIT, &e))
+  if (pcre_fullinfo (pc->cre, pc->extra, PCRE_INFO_JIT, &e))
     die (EXIT_TROUBLE, 0, _("internal error (should never happen)"));
 
   /* The PCRE documentation says that a 32 KiB stack is the default.  */
   if (e)
-    jit_stack_size = 32 << 10;
+    pc->jit_stack_size = 32 << 10;
 # endif
 
   free (re);
 
   int sub[NSUB];
-  empty_match[false] = pcre_exec (cre, extra, "", 0, 0,
-                                  PCRE_NOTBOL, sub, NSUB);
-  empty_match[true] = pcre_exec (cre, extra, "", 0, 0, 0, sub, NSUB);
-#endif /* HAVE_LIBPCRE */
+  pc->empty_match[false] = pcre_exec (pc->cre, pc->extra, "", 0, 0,
+                                      PCRE_NOTBOL, sub, NSUB);
+  pc->empty_match[true] = pcre_exec (pc->cre, pc->extra, "", 0, 0, 0, sub,
+                                     NSUB);
 
-  return NULL;
+  return pc;
+#endif /* HAVE_LIBPCRE */
 }
 
 size_t
@@ -193,6 +198,7 @@ Pexecute (void *vcp, char const *buf, size_t size, size_t *match_size,
   char const *line_start = buf;
   int e = PCRE_ERROR_NOMATCH;
   char const *line_end;
+  struct pcre_comp *pc = vcp;
 
   /* The search address to pass to pcre_exec.  This is the start of
      the buffer, or just past the most-recently discovered encoding
@@ -228,7 +234,7 @@ Pexecute (void *vcp, char const *buf, size_t size, size_t *match_size,
           if (p == line_end)
             {
               sub[0] = sub[1] = search_offset;
-              e = empty_match[bol];
+              e = pc->empty_match[bol];
               break;
             }
 
@@ -236,7 +242,7 @@ Pexecute (void *vcp, char const *buf, size_t size, size_t *match_size,
           if (!bol)
             options |= PCRE_NOTBOL;
 
-          e = jit_exec (subject, line_end - subject, search_offset,
+          e = jit_exec (pc, subject, line_end - subject, search_offset,
                         options, sub);
           if (e != PCRE_ERROR_BADUTF8)
             break;
@@ -251,10 +257,10 @@ Pexecute (void *vcp, char const *buf, size_t size, size_t *match_size,
                      This optimization is valid if VALID_BYTES is zero,
                      which means SEARCH_OFFSET is also zero.  */
                   sub[1] = 0;
-                  e = empty_match[bol];
+                  e = pc->empty_match[bol];
                 }
               else
-                e = jit_exec (subject, valid_bytes, search_offset,
+                e = jit_exec (pc, subject, valid_bytes, search_offset,
                               options | PCRE_NO_UTF8_CHECK | PCRE_NOTEOL, sub);
 
               if (e != PCRE_ERROR_NOMATCH)

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

Summary of changes:
 src/dfasearch.c   |  130 ++++++++++++++++++++++++++---------------------------
 src/grep.c        |   21 +++++----
 src/kwsearch.c    |   13 +++---
 src/pcresearch.c  |   90 ++++++++++++++++++++-----------------
 src/search.h      |   12 ++---
 src/searchutils.c |    7 ++-
 6 files changed, 141 insertions(+), 132 deletions(-)


hooks/post-receive
-- 
grep


From MAILER-DAEMON Sun Dec 25 18:24:03 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cLI95-0004zp-RB
	for mharc-grep-commit@gnu.org; Sun, 25 Dec 2016 18:24:03 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:45549)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cLI93-0004zi-Vc
	for grep-commit@gnu.org; Sun, 25 Dec 2016 18:24:03 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cLI92-0002KS-TB
	for grep-commit@gnu.org; Sun, 25 Dec 2016 18:24:01 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:39648)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cLI92-0002KO-PO
	for grep-commit@gnu.org; Sun, 25 Dec 2016 18:24:00 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69712)
	id A7E55220166; Sun, 25 Dec 2016 23:24:00 +0000 (UTC)
To: grep-commit@gnu.org
Subject: grep branch, master, updated. v2.27-27-g1d5679e
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 31a5e0f4f7c365bbad1436f97e684254886f42a3
X-Git-Newrev: 1d5679ea305370430538e9c1284db736c8433503
Message-Id: <20161225232400.A7E55220166@vcs.savannah.gnu.org>
Date: Sun, 25 Dec 2016 23:24:00 +0000 (UTC)
From: eggert@cs.ucla.edu (Paul Eggert)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.72
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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: Sun, 25 Dec 2016 23:24:03 -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  1d5679ea305370430538e9c1284db736c8433503 (commit)
      from  31a5e0f4f7c365bbad1436f97e684254886f42a3 (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=1d5679ea305370430538e9c1284db736c8433503


commit 1d5679ea305370430538e9c1284db736c8433503
Author: Zev Weiss <zev@bewilderbeest.net>
Date:   Sun Dec 25 04:56:06 2016 -0600

    grep: move localeinfo to grep.c
    
    It's not really dfasearch-specific, and grep.c initializes it, so it
    seems like the most appropriate "owner".
    
    * src/dfasearch.c (localeinfo): Remove.
    * src/grep.c (localeinfo): Add.
    * src/search.h (localeinfo): Move to new commented section.

diff --git a/src/dfasearch.c b/src/dfasearch.c
index 0abe7f6..c201a51 100644
--- a/src/dfasearch.c
+++ b/src/dfasearch.c
@@ -24,8 +24,6 @@
 #include "die.h"
 #include <error.h>
 
-struct localeinfo localeinfo;
-
 struct dfa_comp
 {
   /* KWset compiled pattern.  For Ecompile and Gcompile, we compile
diff --git a/src/grep.c b/src/grep.c
index 9a89b5e..f28f3c2 100644
--- a/src/grep.c
+++ b/src/grep.c
@@ -625,6 +625,8 @@ clean_up_stdout (void)
 /* An unsigned type suitable for fast matching.  */
 typedef uintmax_t uword;
 
+struct localeinfo localeinfo;
+
 /* A mask to test for unibyte characters, with the pattern repeated to
    fill a uword.  For a multibyte character encoding where
    all bytes are unibyte characters, this is 0.  For UTF-8, this is
diff --git a/src/search.h b/src/search.h
index 766b1f6..469fc9c 100644
--- a/src/search.h
+++ b/src/search.h
@@ -54,7 +54,6 @@ extern size_t wordchar_prev (char const *, char const *, char const *);
 extern ptrdiff_t mb_goback (char const **, char const *, char const *);
 
 /* dfasearch.c */
-extern struct localeinfo localeinfo;
 extern void *GEAcompile (char const *, size_t, reg_syntax_t);
 extern size_t EGexecute (void *, char const *, size_t, size_t *, char const *);
 
@@ -66,6 +65,9 @@ extern size_t Fexecute (void *, char const *, size_t, size_t *, char const *);
 extern void *Pcompile (char const *, size_t, reg_syntax_t);
 extern size_t Pexecute (void *, char const *, size_t, size_t *, char const *);
 
+/* grep.c */
+extern struct localeinfo localeinfo;
+
 /* Return the number of bytes in the character at the start of S, which
    is of size N.  N must be positive.  MBS is the conversion state.
    This acts like mbrlen, except it returns 1 when mbrlen would return 0,

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

Summary of changes:
 src/dfasearch.c |    2 --
 src/grep.c      |    2 ++
 src/search.h    |    4 +++-
 3 files changed, 5 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
grep


From MAILER-DAEMON Mon Dec 26 15:05:59 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cLbWx-00076k-5Z
	for mharc-grep-commit@gnu.org; Mon, 26 Dec 2016 15:05:59 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:38086)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cLbWv-00076e-DS
	for grep-commit@gnu.org; Mon, 26 Dec 2016 15:05:58 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cLbWu-0002LT-1s
	for grep-commit@gnu.org; Mon, 26 Dec 2016 15:05:57 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:44530)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cLbWt-0002LH-UW
	for grep-commit@gnu.org; Mon, 26 Dec 2016 15:05:55 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69712)
	id A1DAE2201C7; Mon, 26 Dec 2016 20:05:55 +0000 (UTC)
To: grep-commit@gnu.org
Subject: grep branch, master, updated. v2.27-28-g1a45e78
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 1d5679ea305370430538e9c1284db736c8433503
X-Git-Newrev: 1a45e78b8759073c6f184039324d5b4bf8ef8f95
Message-Id: <20161226200555.A1DAE2201C7@vcs.savannah.gnu.org>
Date: Mon, 26 Dec 2016 20:05:55 +0000 (UTC)
From: eggert@cs.ucla.edu (Paul Eggert)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.72
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 26 Dec 2016 20:05:58 -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  1a45e78b8759073c6f184039324d5b4bf8ef8f95 (commit)
      from  1d5679ea305370430538e9c1284db736c8433503 (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=1a45e78b8759073c6f184039324d5b4bf8ef8f95


commit 1a45e78b8759073c6f184039324d5b4bf8ef8f95
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Mon Dec 26 09:42:29 2016 -0800

    grep: minor performance tweak for pure functions
    
    * src/search.h (wordchars_size, wordchar_next, wordchar_prev):
    Declare to be pure.

diff --git a/src/search.h b/src/search.h
index 469fc9c..1aa2f94 100644
--- a/src/search.h
+++ b/src/search.h
@@ -48,9 +48,10 @@ typedef signed char mb_len_map_t;
 /* searchutils.c */
 extern void wordinit (void);
 extern kwset_t kwsinit (bool);
-extern size_t wordchars_size (char const *, char const *);
-extern size_t wordchar_next (char const *, char const *);
-extern size_t wordchar_prev (char const *, char const *, char const *);
+extern size_t wordchars_size (char const *, char const *) _GL_ATTRIBUTE_PURE;
+extern size_t wordchar_next (char const *, char const *) _GL_ATTRIBUTE_PURE;
+extern size_t wordchar_prev (char const *, char const *, char const *)
+  _GL_ATTRIBUTE_PURE;
 extern ptrdiff_t mb_goback (char const **, char const *, char const *);
 
 /* dfasearch.c */

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

Summary of changes:
 src/search.h |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
grep


From MAILER-DAEMON Tue Dec 27 14:19:40 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cLxHe-0003rC-62
	for mharc-grep-commit@gnu.org; Tue, 27 Dec 2016 14:19:40 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:53500)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cLxHZ-0003pL-B0
	for grep-commit@gnu.org; Tue, 27 Dec 2016 14:19:34 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cLxHY-0006BD-BB
	for grep-commit@gnu.org; Tue, 27 Dec 2016 14:19:33 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:52761)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cLxHY-0006B8-7p
	for grep-commit@gnu.org; Tue, 27 Dec 2016 14:19:32 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69712)
	id 0CE692201C7; Tue, 27 Dec 2016 19:19:32 +0000 (UTC)
To: grep-commit@gnu.org
Subject: grep branch, master, updated. v2.27-29-g7ad47ab
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 1a45e78b8759073c6f184039324d5b4bf8ef8f95
X-Git-Newrev: 7ad47abbcb070946000771a829b51224720b8cef
Message-Id: <20161227191932.0CE692201C7@vcs.savannah.gnu.org>
Date: Tue, 27 Dec 2016 19:19:31 +0000 (UTC)
From: eggert@cs.ucla.edu (Paul Eggert)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.72
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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: Tue, 27 Dec 2016 19:19:36 -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  7ad47abbcb070946000771a829b51224720b8cef (commit)
      from  1a45e78b8759073c6f184039324d5b4bf8ef8f95 (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=7ad47abbcb070946000771a829b51224720b8cef


commit 7ad47abbcb070946000771a829b51224720b8cef
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Tue Dec 27 11:16:32 2016 -0800

    grep: fix bug with '... | grep pat >> /dev/null'
    
    Problem reported by Benno Fünfstück (Bug#25283).
    * NEWS: Document this.
    * src/grep.c (drain_input) [SPLICE_F_MOVE]:
    Don't assume /dev/null is always acceptable output to splice.
    * tests/grep-dev-null-out: Test for the bug.

diff --git a/NEWS b/NEWS
index 2e7d1ae..8830582 100644
--- a/NEWS
+++ b/NEWS
@@ -4,9 +4,10 @@ GNU grep NEWS                                    -*- outline -*-
 
 ** Bug fixes
 
-  grep no longer fails when standard input is a file in the Linux
-  /proc file system and standard output is /dev/null.
-  [bug introduced in grep-2.27]
+  When standard output is /dev/null, grep no longer fails when
+  standard input is a file in the Linux /proc file system, or when
+  standard input is a pipe and standard output is in append mdoe.
+  [bugs introduced in grep-2.27]
 
 ** Bug fixes
 
diff --git a/src/grep.c b/src/grep.c
index f28f3c2..aebab20 100644
--- a/src/grep.c
+++ b/src/grep.c
@@ -1728,11 +1728,15 @@ drain_input (int fd, struct stat const *st)
     {
 #ifdef SPLICE_F_MOVE
       /* Should be faster, since it need not copy data to user space.  */
-      while ((nbytes = splice (fd, NULL, STDOUT_FILENO, NULL,
-                               INITIAL_BUFSIZE, SPLICE_F_MOVE)))
-        if (nbytes < 0)
-          return false;
-      return true;
+      nbytes = splice (fd, NULL, STDOUT_FILENO, NULL,
+                       INITIAL_BUFSIZE, SPLICE_F_MOVE);
+      if (0 <= nbytes || errno != EINVAL)
+        {
+          while (0 < nbytes)
+            nbytes = splice (fd, NULL, STDOUT_FILENO, NULL,
+                             INITIAL_BUFSIZE, SPLICE_F_MOVE);
+          return nbytes == 0;
+        }
 #endif
     }
   while ((nbytes = safe_read (fd, buffer, bufalloc)))
diff --git a/tests/grep-dev-null-out b/tests/grep-dev-null-out
index 13a4843..c8128d5 100755
--- a/tests/grep-dev-null-out
+++ b/tests/grep-dev-null-out
@@ -8,4 +8,6 @@ require_timeout_
 ${AWK-awk} 'BEGIN {while (1) print "x"}' </dev/null |
   returns_ 124 timeout 1 grep x >/dev/null || fail=1
 
+echo abc | grep b >>/dev/null || fail=1
+
 Exit $fail

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

Summary of changes:
 NEWS                    |    7 ++++---
 src/grep.c              |   14 +++++++++-----
 tests/grep-dev-null-out |    2 ++
 3 files changed, 15 insertions(+), 8 deletions(-)


hooks/post-receive
-- 
grep


From MAILER-DAEMON Tue Dec 27 17:32:32 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cM0IK-0001HX-3n
	for mharc-grep-commit@gnu.org; Tue, 27 Dec 2016 17:32:32 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:39620)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cM0IH-0001HI-Gf
	for grep-commit@gnu.org; Tue, 27 Dec 2016 17:32:30 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cM0IG-0007ln-H2
	for grep-commit@gnu.org; Tue, 27 Dec 2016 17:32:29 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:53762)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cM0IG-0007lb-DS
	for grep-commit@gnu.org; Tue, 27 Dec 2016 17:32:28 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69712)
	id 1A99D2201C7; Tue, 27 Dec 2016 22:32:28 +0000 (UTC)
To: grep-commit@gnu.org
Subject: grep branch, master, updated. v2.27-30-ga6f8b74
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 7ad47abbcb070946000771a829b51224720b8cef
X-Git-Newrev: a6f8b7464eb0812621ce7bb1f20180502e779050
Message-Id: <20161227223228.1A99D2201C7@vcs.savannah.gnu.org>
Date: Tue, 27 Dec 2016 22:32:28 +0000 (UTC)
From: eggert@cs.ucla.edu (Paul Eggert)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.72
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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: Tue, 27 Dec 2016 22:32:30 -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  a6f8b7464eb0812621ce7bb1f20180502e779050 (commit)
      from  7ad47abbcb070946000771a829b51224720b8cef (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=a6f8b7464eb0812621ce7bb1f20180502e779050


commit a6f8b7464eb0812621ce7bb1f20180502e779050
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Tue Dec 27 14:32:04 2016 -0800

    * NEWS: Fix typo.

diff --git a/NEWS b/NEWS
index 8830582..bfafe3c 100644
--- a/NEWS
+++ b/NEWS
@@ -6,7 +6,7 @@ GNU grep NEWS                                    -*- outline -*-
 
   When standard output is /dev/null, grep no longer fails when
   standard input is a file in the Linux /proc file system, or when
-  standard input is a pipe and standard output is in append mdoe.
+  standard input is a pipe and standard output is in append mode.
   [bugs introduced in grep-2.27]
 
 ** Bug fixes

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

Summary of changes:
 NEWS |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
grep


From MAILER-DAEMON Wed Dec 28 01:33:59 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cM7oF-0004On-B1
	for mharc-grep-commit@gnu.org; Wed, 28 Dec 2016 01:33:59 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:43370)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cM7oA-0004NL-Sc
	for grep-commit@gnu.org; Wed, 28 Dec 2016 01:33:55 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cM7o9-0000wj-R3
	for grep-commit@gnu.org; Wed, 28 Dec 2016 01:33:54 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:55604)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cM7o9-0000wb-Of
	for grep-commit@gnu.org; Wed, 28 Dec 2016 01:33:53 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69712)
	id 6A1FD2201C7; Wed, 28 Dec 2016 06:33:53 +0000 (UTC)
To: grep-commit@gnu.org
Subject: grep branch, master, updated. v2.27-31-gbb3d1ac
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: a6f8b7464eb0812621ce7bb1f20180502e779050
X-Git-Newrev: bb3d1acbea88ced0cf4a93baa4ee8f2862f9e1ac
Message-Id: <20161228063353.6A1FD2201C7@vcs.savannah.gnu.org>
Date: Wed, 28 Dec 2016 06:33:53 +0000 (UTC)
From: eggert@cs.ucla.edu (Paul Eggert)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.72
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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 2016 06:33:55 -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  bb3d1acbea88ced0cf4a93baa4ee8f2862f9e1ac (commit)
      from  a6f8b7464eb0812621ce7bb1f20180502e779050 (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=bb3d1acbea88ced0cf4a93baa4ee8f2862f9e1ac


commit bb3d1acbea88ced0cf4a93baa4ee8f2862f9e1ac
Author: Norihiro Tanaka <noritnk@kcn.ne.jp>
Date:   Tue Dec 27 22:29:39 2016 -0800

    grep: improve performance with multiple patterns
    
    * src/grep.c (main): Avoid fgrep-to-grep conversion for word matching
    with multiple patterns in single byte locales.

diff --git a/src/grep.c b/src/grep.c
index aebab20..ab47839 100644
--- a/src/grep.c
+++ b/src/grep.c
@@ -2862,7 +2862,7 @@ main (int argc, char **argv)
      for -iF.  */
   if (matcher == F_MATCHER_INDEX
       && (! localeinfo.multibyte
-          ? match_words
+          ? n_patterns == 1 && match_words
           : (contains_encoding_error (keys, keycc)
              || (match_icase && !fgrep_icase_available (keys, keycc)))))
     {

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

Summary of changes:
 src/grep.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
grep


From MAILER-DAEMON Thu Dec 29 21:33:59 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cMn15-0005rT-5Q
	for mharc-grep-commit@gnu.org; Thu, 29 Dec 2016 21:33:59 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:45228)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cMn12-0005r5-Jr
	for grep-commit@gnu.org; Thu, 29 Dec 2016 21:33:58 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cMn10-0004WY-UN
	for grep-commit@gnu.org; Thu, 29 Dec 2016 21:33:56 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:39187)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cMn10-0004WL-QW
	for grep-commit@gnu.org; Thu, 29 Dec 2016 21:33:54 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69712)
	id 744222201C7; Fri, 30 Dec 2016 02:33:54 +0000 (UTC)
To: grep-commit@gnu.org
Subject: grep branch, master, updated. v2.27-32-ge86def3
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: bb3d1acbea88ced0cf4a93baa4ee8f2862f9e1ac
X-Git-Newrev: e86def3d68d09aaf8f527e910178d778073dc837
Message-Id: <20161230023354.744222201C7@vcs.savannah.gnu.org>
Date: Fri, 30 Dec 2016 02:33:54 +0000 (UTC)
From: eggert@cs.ucla.edu (Paul Eggert)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.72
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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 2016 02:33:58 -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  e86def3d68d09aaf8f527e910178d778073dc837 (commit)
      from  bb3d1acbea88ced0cf4a93baa4ee8f2862f9e1ac (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=e86def3d68d09aaf8f527e910178d778073dc837


commit e86def3d68d09aaf8f527e910178d778073dc837
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Thu Dec 29 18:33:10 2016 -0800

    grep: int cleanup in kwset.c
    
    This should affect only theoretical bugs with very large inputs.
    On my platform, this patch shrinks the grep text by 136 bytes.
    * src/kwset.c: Include intprops.h, for INT_MULTIPLY_WRAPV.
    (struct trie, struct kwset, kwsalloc, kwsincr, treedelta, kwsprep)
    (bm_delta2_search, bmexec_trans, cwexec): Prefer ptrdiff_t to int
    when counts can exceed INT_MAX in large inputs, at least in theory.
    (hasevery): Use bool for booleans.
    (bmexec_trans): Avoid undefined behavior on integer overflow.

diff --git a/src/kwset.c b/src/kwset.c
index 506c6cd..2e59be0 100644
--- a/src/kwset.c
+++ b/src/kwset.c
@@ -38,6 +38,7 @@
 #include <stdint.h>
 #include <sys/types.h>
 #include "system.h"
+#include "intprops.h"
 #include "memchr2.h"
 #include "obstack.h"
 #include "xalloc.h"
@@ -69,9 +70,9 @@ struct trie
   struct trie *parent;		/* Parent of this node. */
   struct trie *next;		/* List of all trie nodes in level order. */
   struct trie *fail;		/* Aho-Corasick failure function. */
-  int depth;			/* Depth of this node from the root. */
-  int shift;			/* Shift function for search failures. */
-  int maxshift;			/* Max shift of self and descendants. */
+  ptrdiff_t depth;		/* Depth of this node from the root. */
+  ptrdiff_t shift;		/* Shift function for search failures. */
+  ptrdiff_t maxshift;		/* Max shift of self and descendants. */
 };
 
 /* Structure returned opaquely to the caller, containing everything. */
@@ -80,12 +81,12 @@ struct kwset
   struct obstack obstack;	/* Obstack for node allocation. */
   ptrdiff_t words;		/* Number of words in the trie. */
   struct trie *trie;		/* The trie itself. */
-  int mind;			/* Minimum depth of an accepting node. */
-  int maxd;			/* Maximum depth of any node. */
+  ptrdiff_t mind;		/* Minimum depth of an accepting node. */
+  ptrdiff_t maxd;		/* Maximum depth of any node. */
   unsigned char delta[NCHAR];	/* Delta table for rapid search. */
   struct trie *next[NCHAR];	/* Table of children of the root. */
   char *target;			/* Target string if there's only one. */
-  int *shift;			/* Used in Boyer-Moore search for one string. */
+  ptrdiff_t *shift;		/* Used in Boyer-Moore search for one string. */
   char const *trans;		/* Character translation table. */
 
   /* If there's only one string, this is the string's last byte,
@@ -142,7 +143,7 @@ kwsalloc (char const *trans, bool reverse)
   kwset->trie->fail = NULL;
   kwset->trie->depth = 0;
   kwset->trie->shift = 0;
-  kwset->mind = INT_MAX;
+  kwset->mind = PTRDIFF_MAX;
   kwset->maxd = -1;
   kwset->target = NULL;
   kwset->trans = trans;
@@ -181,7 +182,7 @@ kwsincr (kwset_t kwset, char const *text, size_t len)
       enum { L, R } dirs[DEPTH_SIZE];
       links[0] = (struct tree *) &trie->links;
       dirs[0] = L;
-      int depth = 1;
+      ptrdiff_t depth = 1;
 
       while (cur && label != cur->label)
         {
@@ -355,9 +356,7 @@ treefails (struct tree const *tree, struct trie const *fail,
 /* Set delta entries for the links of the given tree such that
    the preexisting delta value is larger than the current depth. */
 static void
-treedelta (struct tree const *tree,
-           unsigned int depth,
-           unsigned char delta[])
+treedelta (struct tree const *tree, ptrdiff_t depth, unsigned char delta[])
 {
   if (!tree)
     return;
@@ -368,15 +367,15 @@ treedelta (struct tree const *tree,
 }
 
 /* Return true if A has every label in B. */
-static int _GL_ATTRIBUTE_PURE
+static bool _GL_ATTRIBUTE_PURE
 hasevery (struct tree const *a, struct tree const *b)
 {
   if (!b)
-    return 1;
+    return true;
   if (!hasevery(a, b->llink))
-    return 0;
+    return false;
   if (!hasevery(a, b->rlink))
-    return 0;
+    return false;
   while (a && b->label != a->label)
     if (b->label < a->label)
       a = a->llink;
@@ -403,7 +402,7 @@ void
 kwsprep (kwset_t kwset)
 {
   char const *trans = kwset->trans;
-  int i;
+  ptrdiff_t i;
   unsigned char deltabuf[NCHAR];
   unsigned char *delta = trans ? deltabuf : kwset->delta;
   struct trie *curr, *last;
@@ -565,16 +564,17 @@ kwsprep (kwset_t kwset)
    efficiency.  If D1 is nonnull, it is a delta1 table for shifting *TP
    when failing.  KWSET->shift says how much to shift.  */
 static inline bool
-bm_delta2_search (char const **tpp, char const *ep, char const *sp, int len,
+bm_delta2_search (char const **tpp, char const *ep, char const *sp,
+                  ptrdiff_t len,
                   char const *trans, char gc1, char gc2,
                   unsigned char const *d1, kwset_t kwset)
 {
   char const *tp = *tpp;
-  int d = len, skip = 0;
+  ptrdiff_t d = len, skip = 0;
 
   while (true)
     {
-      int i = 2;
+      ptrdiff_t i = 2;
       if (tr (trans, tp[-2]) == gc2)
         {
           while (++i <= d)
@@ -663,7 +663,7 @@ bmexec_trans (kwset_t kwset, char const *text, size_t size)
   unsigned char const *d1;
   char const *ep, *sp, *tp;
   int d;
-  int len = kwset->mind;
+  ptrdiff_t len = kwset->mind;
   char const *trans = kwset->trans;
 
   if (len == 0)
@@ -683,7 +683,8 @@ bmexec_trans (kwset_t kwset, char const *text, size_t size)
   char gc2 = kwset->gc2;
 
   /* Significance of 12: 1 (initial offset) + 10 (skip loop) + 1 (md2). */
-  if (size > 12 * len)
+  ptrdiff_t len12;
+  if (!INT_MULTIPLY_WRAPV (len, 12, &len12) && len12 < size)
     /* 11 is not a bug, the initial offset happens only once. */
     for (ep = text + size - 11 * len; tp <= ep; )
       {
@@ -772,7 +773,7 @@ cwexec (kwset_t kwset, char const *text, size_t len,
   char const *beg, *lim, *mch, *lmch;
   unsigned char c;
   unsigned char const *delta;
-  int d;
+  ptrdiff_t d;
   char const *end, *qlim;
   struct tree const *tree;
   char const *trans;

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

Summary of changes:
 src/kwset.c |   45 +++++++++++++++++++++++----------------------
 1 file changed, 23 insertions(+), 22 deletions(-)


hooks/post-receive
-- 
grep


From MAILER-DAEMON Thu Dec 29 22:23:29 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cMnmz-0002G9-KY
	for mharc-grep-commit@gnu.org; Thu, 29 Dec 2016 22:23:29 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:36577)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cMnmv-0002Fc-8j
	for grep-commit@gnu.org; Thu, 29 Dec 2016 22:23:28 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cMnmt-0002f3-QI
	for grep-commit@gnu.org; Thu, 29 Dec 2016 22:23:25 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:39358)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cMnmt-0002ew-Ml
	for grep-commit@gnu.org; Thu, 29 Dec 2016 22:23:23 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69712)
	id 626C62201C7; Fri, 30 Dec 2016 03:23:23 +0000 (UTC)
To: grep-commit@gnu.org
Subject: grep branch, master, updated. v2.27-33-g02405c7
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: e86def3d68d09aaf8f527e910178d778073dc837
X-Git-Newrev: 02405c796006fa84b354c33e842b912ce378c04d
Message-Id: <20161230032323.626C62201C7@vcs.savannah.gnu.org>
Date: Fri, 30 Dec 2016 03:23:23 +0000 (UTC)
From: eggert@cs.ucla.edu (Paul Eggert)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.72
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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 2016 03:23:28 -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  02405c796006fa84b354c33e842b912ce378c04d (commit)
      from  e86def3d68d09aaf8f527e910178d778073dc837 (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=02405c796006fa84b354c33e842b912ce378c04d


commit 02405c796006fa84b354c33e842b912ce378c04d
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Thu Dec 29 19:22:54 2016 -0800

    maint: space before paren

diff --git a/src/dosbuf.c b/src/dosbuf.c
index 839cc3a..accc3ff 100644
--- a/src/dosbuf.c
+++ b/src/dosbuf.c
@@ -113,7 +113,7 @@ undossify_input (char *buf, size_t buflen)
 
   /* Guess if this file is binary, unless we already know that.  */
   if (dos_file_type == UNKNOWN)
-    dos_file_type = guess_type(buf, buflen);
+    dos_file_type = guess_type (buf, buflen);
 
   /* If this file is to be treated as DOS Text, strip the CR characters
      and maybe build the table for character position mapping on output.  */
@@ -143,9 +143,9 @@ undossify_input (char *buf, size_t buflen)
                   if (inp_map_idx >= dos_pos_map_size - 1)
                     {
                       dos_pos_map_size = inp_map_idx ? inp_map_idx * 2 : 1000;
-                      dos_pos_map = xrealloc(dos_pos_map,
-                                             dos_pos_map_size *
-                                             sizeof(struct dos_map));
+                      dos_pos_map = xrealloc (dos_pos_map,
+                                              (dos_pos_map_size
+                                               * sizeof (struct dos_map)));
                     }
 
                   if (!inp_map_idx)
diff --git a/src/grep.c b/src/grep.c
index ab47839..e64c430 100644
--- a/src/grep.c
+++ b/src/grep.c
@@ -1921,19 +1921,19 @@ usage (int status)
   if (status != 0)
     {
       fprintf (stderr, _("Usage: %s [OPTION]... PATTERN [FILE]...\n"),
-               getprogname());
+               getprogname ());
       fprintf (stderr, _("Try '%s --help' for more information.\n"),
-               getprogname());
+               getprogname ());
     }
   else
     {
-      printf (_("Usage: %s [OPTION]... PATTERN [FILE]...\n"), getprogname());
+      printf (_("Usage: %s [OPTION]... PATTERN [FILE]...\n"), getprogname ());
       printf (_("Search for PATTERN in each FILE or standard input.\n"));
       printf (_("PATTERN is, by default, a basic regular expression (BRE).\n"));
       printf (_("\
 Example: %s -i 'hello world' menu.h main.c\n\
 \n\
-Regexp selection and interpretation:\n"), getprogname());
+Regexp selection and interpretation:\n"), getprogname ());
       printf (_("\
   -E, --extended-regexp     PATTERN is an extended regular expression (ERE)\n\
   -F, --fixed-strings       PATTERN is a set of newline-separated strings\n\
@@ -2764,7 +2764,7 @@ main (int argc, char **argv)
 
   if (show_version)
     {
-      version_etc (stdout, getprogname(), PACKAGE_NAME, VERSION, AUTHORS,
+      version_etc (stdout, getprogname (), PACKAGE_NAME, VERSION, AUTHORS,
                    (char *) NULL);
       return EXIT_SUCCESS;
     }
@@ -2931,6 +2931,6 @@ main (int argc, char **argv)
     status &= grep_command_line_arg (*files++);
   while (*files != NULL);
 
-  /* We register via atexit() to test stdout.  */
+  /* We register via atexit to test stdout.  */
   return errseen ? EXIT_TROUBLE : status;
 }
diff --git a/src/kwset.c b/src/kwset.c
index 2e59be0..30c0f04 100644
--- a/src/kwset.c
+++ b/src/kwset.c
@@ -310,8 +310,8 @@ enqueue (struct tree *tree, struct trie **last)
 {
   if (!tree)
     return;
-  enqueue(tree->llink, last);
-  enqueue(tree->rlink, last);
+  enqueue (tree->llink, last);
+  enqueue (tree->rlink, last);
   (*last) = (*last)->next = tree->trie;
 }
 
@@ -327,8 +327,8 @@ treefails (struct tree const *tree, struct trie const *fail,
   if (!tree)
     return;
 
-  treefails(tree->llink, fail, recourse, reverse);
-  treefails(tree->rlink, fail, recourse, reverse);
+  treefails (tree->llink, fail, recourse, reverse);
+  treefails (tree->rlink, fail, recourse, reverse);
 
   /* Find, in the chain of fails going back to the root, the first
      node that has a descendant on the current label. */
@@ -360,8 +360,8 @@ treedelta (struct tree const *tree, ptrdiff_t depth, unsigned char delta[])
 {
   if (!tree)
     return;
-  treedelta(tree->llink, depth, delta);
-  treedelta(tree->rlink, depth, delta);
+  treedelta (tree->llink, depth, delta);
+  treedelta (tree->rlink, depth, delta);
   if (depth < delta[tree->label])
     delta[tree->label] = depth;
 }
@@ -372,9 +372,9 @@ hasevery (struct tree const *a, struct tree const *b)
 {
   if (!b)
     return true;
-  if (!hasevery(a, b->llink))
+  if (!hasevery (a, b->llink))
     return false;
-  if (!hasevery(a, b->rlink))
+  if (!hasevery (a, b->rlink))
     return false;
   while (a && b->label != a->label)
     if (b->label < a->label)
@@ -391,8 +391,8 @@ treenext (struct tree const *tree, struct trie *next[])
 {
   if (!tree)
     return;
-  treenext(tree->llink, next);
-  treenext(tree->rlink, next);
+  treenext (tree->llink, next);
+  treenext (tree->rlink, next);
   next[tree->label] = tree->trie;
 }
 

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

Summary of changes:
 src/dosbuf.c |    8 ++++----
 src/grep.c   |   12 ++++++------
 src/kwset.c  |   20 ++++++++++----------
 3 files changed, 20 insertions(+), 20 deletions(-)


hooks/post-receive
-- 
grep


From MAILER-DAEMON Sat Dec 31 10:52:49 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cNLxh-0007So-NY
	for mharc-grep-commit@gnu.org; Sat, 31 Dec 2016 10:52:49 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34658)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cNLxf-0007Sh-Bv
	for grep-commit@gnu.org; Sat, 31 Dec 2016 10:52:48 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cNLxe-0001ya-AU
	for grep-commit@gnu.org; Sat, 31 Dec 2016 10:52:47 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:49044)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1cNLxe-0001yT-6v
	for grep-commit@gnu.org; Sat, 31 Dec 2016 10:52:46 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69698)
	id 057A22201B0; Sat, 31 Dec 2016 15:52:45 +0000 (UTC)
To: grep-commit@gnu.org
Subject: grep branch, master, updated. v2.27-34-gbf2b73a
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 02405c796006fa84b354c33e842b912ce378c04d
X-Git-Newrev: bf2b73acf81dd21e7e587dfd00c3362ff412aa46
Message-Id: <20161231155246.057A22201B0@vcs.savannah.gnu.org>
Date: Sat, 31 Dec 2016 15:52:45 +0000 (UTC)
From: jim@meyering.net (Jim Meyering)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.72
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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, 31 Dec 2016 15:52: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  bf2b73acf81dd21e7e587dfd00c3362ff412aa46 (commit)
      from  02405c796006fa84b354c33e842b912ce378c04d (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=bf2b73acf81dd21e7e587dfd00c3362ff412aa46


commit bf2b73acf81dd21e7e587dfd00c3362ff412aa46
Author: Jim Meyering <meyering@fb.com>
Date:   Sat Dec 31 07:49:32 2016 -0800

    gnulib: update to latest, fixing a parallel getopt test failure

diff --git a/gnulib b/gnulib
index 571a9a5..5996001 160000
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit 571a9a5a3d1e53e0b93885711fcf6910f347f062
+Subproject commit 5996001fc550d7e12292f22f312176014f787243

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

Summary of changes:
 gnulib |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
grep


From MAILER-DAEMON Sat Dec 31 19:18:50 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cNTrO-0003a7-LC
	for mharc-grep-commit@gnu.org; Sat, 31 Dec 2016 19:18:50 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:35477)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cNTrM-0003a0-EL
	for grep-commit@gnu.org; Sat, 31 Dec 2016 19:18:49 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cNTrL-00061B-7k
	for grep-commit@gnu.org; Sat, 31 Dec 2016 19:18:48 -0500
Received: from vcs.savannah.gnu.org ([208.118.235.72]:51301)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1cNTrL-000610-4Y
	for grep-commit@gnu.org; Sat, 31 Dec 2016 19:18:47 -0500
Received: by vcs.savannah.gnu.org (Postfix, from userid 69712)
	id E7EAA2201B0; Sun,  1 Jan 2017 00:18:46 +0000 (UTC)
To: grep-commit@gnu.org
Subject: grep branch, master, updated. v2.27-35-g296f3b9
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: bf2b73acf81dd21e7e587dfd00c3362ff412aa46
X-Git-Newrev: 296f3b994d59006a64fcd1a2398a6b3e13e84e3c
Message-Id: <20170101001846.E7EAA2201B0@vcs.savannah.gnu.org>
Date: Sun,  1 Jan 2017 00:18:46 +0000 (UTC)
From: eggert@cs.ucla.edu (Paul Eggert)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.72
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
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: Sun, 01 Jan 2017 00:18:49 -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  296f3b994d59006a64fcd1a2398a6b3e13e84e3c (commit)
      from  bf2b73acf81dd21e7e587dfd00c3362ff412aa46 (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=296f3b994d59006a64fcd1a2398a6b3e13e84e3c


commit 296f3b994d59006a64fcd1a2398a6b3e13e84e3c
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Sat Dec 31 16:17:03 2016 -0800

    grep: speed up -x with many patterns
    
    * src/kwsearch.c (Fcompile): Improve buffer allocation overhead
    with -x and multiple patterns.  In the common case where '\n' is
    the end-of-line byte, avoid copying other than the first and last
    patterns.

diff --git a/src/kwsearch.c b/src/kwsearch.c
index fedbe32..a36381f 100644
--- a/src/kwsearch.c
+++ b/src/kwsearch.c
@@ -26,6 +26,8 @@ Fcompile (char const *pattern, size_t size, reg_syntax_t ignored)
 {
   kwset_t kwset;
   size_t total = size;
+  char *buf = NULL;
+  size_t bufalloc = 0;
 
   kwset = kwsinit (true);
 
@@ -46,23 +48,32 @@ Fcompile (char const *pattern, size_t size, reg_syntax_t ignored)
           total = 0;
         }
 
-      char *buf = NULL;
       if (match_lines)
         {
-          buf = xmalloc (len + 2);
-          buf[0] = eolbyte;
-          memcpy (buf + 1, p, len);
-          buf[len + 1] = eolbyte;
-          p = buf;
+          if (eolbyte == '\n' && pattern < p && sep)
+            p--;
+          else
+            {
+              if (bufalloc < len + 2)
+                {
+                  free (buf);
+                  bufalloc = len + 2;
+                  buf = x2realloc (NULL, &bufalloc);
+                  buf[0] = eolbyte;
+                }
+              memcpy (buf + 1, p, len);
+              buf[len + 1] = eolbyte;
+              p = buf;
+            }
           len += 2;
         }
       kwsincr (kwset, p, len);
-      free (buf);
 
       p = sep;
     }
   while (p);
 
+  free (buf);
   kwsprep (kwset);
 
   return kwset;

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

Summary of changes:
 src/kwsearch.c |   25 ++++++++++++++++++-------
 1 file changed, 18 insertions(+), 7 deletions(-)


hooks/post-receive
-- 
grep


