grep-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grep branch, master, updated. v2.14-24-g0701895


From: Paul Eggert
Subject: grep branch, master, updated. v2.14-24-g0701895
Date: Thu, 18 Apr 2013 19:22: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  0701895e09397ca7472ed346a145fd55753cc7b0 (commit)
      from  ce9c968474c8058568963658b0fc3b04f8e43adf (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=0701895e09397ca7472ed346a145fd55753cc7b0


commit 0701895e09397ca7472ed346a145fd55753cc7b0
Author: Paul Eggert <address@hidden>
Date:   Thu Apr 18 12:22:12 2013 -0700

    doc: document EREs like a{,10}
    
    Problem reported by Eric Blake in
    <http://lists.gnu.org/archive/html/bug-grep/2013-04/msg00005.html>.
    * NEWS: Document the bug fix.
    * doc/grep.in.1: Restore documentation for this feature, but mention
    that it is a GNU extension.
    * doc/grep.texi (Fundamental Structure): Mention that this feature
    is a GNU extension.

diff --git a/NEWS b/NEWS
index 163ee3e..5dc0a8c 100644
--- a/NEWS
+++ b/NEWS
@@ -79,6 +79,8 @@ GNU grep NEWS                                    -*- outline 
-*-
   grep -E 'a{1000000000}' now reports an overflow error rather than
   silently acting like grep -E 'a\{1000000000}'.
 
+  grep -E 'a{,10}' was not treated equivalently to grep -E 'a{0,10}'.
+
 ** New features
 
   The -R option now has a long-option alias --dereference-recursive.
diff --git a/doc/grep.in.1 b/doc/grep.in.1
index 42cd235..a6f850d 100644
--- a/doc/grep.in.1
+++ b/doc/grep.in.1
@@ -751,6 +751,12 @@ The preceding item is matched
 .I n
 or more times.
 .TP
+.BI {, m }
+The preceding item is matched at most
+.I m
+times.
+This is a \s-1GNU\s0 extension.
+.TP
 .BI { n , m }
 The preceding item is matched at least
 .I n
diff --git a/doc/grep.texi b/doc/grep.texi
index 3fc87d5..c8388d6 100644
--- a/doc/grep.texi
+++ b/doc/grep.texi
@@ -1180,6 +1180,7 @@ The preceding item is matched @var{n} or more times.
 @cindex braces, first argument omitted
 @cindex match expression at most @var{m} times
 The preceding item is matched at most @var{m} times.
+This is a GNU extension.
 
 @item @address@hidden,@address@hidden
 @opindex @address@hidden,@address@hidden

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

Summary of changes:
 NEWS          |    2 ++
 doc/grep.in.1 |    6 ++++++
 doc/grep.texi |    1 +
 3 files changed, 9 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
grep



reply via email to

[Prev in Thread] Current Thread [Next in Thread]