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  ab8c4b4c39c6cd37d0047f6aadc5456b6faabcb7 (commit)
      from  65779292d28dd3e57de147dc27db0a125d99b5ed (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=ab8c4b4c39c6cd37d0047f6aadc5456b6faabcb7


commit ab8c4b4c39c6cd37d0047f6aadc5456b6faabcb7
Author: Paul Eggert <[email protected]>
Date:   Sun Feb 3 22:42:30 2019 -0800

    doc: clarify --exclude globbing
    
    Problem reported by Paul Jackson.
    * doc/grep.in.1:
    * doc/grep.texi (File and Directory Selection):
    Clarify how --exclude globbing works.

diff --git a/doc/grep.in.1 b/doc/grep.in.1
index dd25589..4a3e274 100644
--- a/doc/grep.in.1
+++ b/doc/grep.in.1
@@ -624,14 +624,13 @@ option.
 Skip any command-line file with a name suffix that matches the pattern
 .IR GLOB ,
 using wildcard matching; a name suffix is either the whole
-name, or any suffix starting after a
-.B /
-and before a
-.RB non- / .
+name, or a trailing part that starts with a non-slash character
+immediately after a slash
+.RB ( / )
+in the name.
 When searching recursively, skip any subfile whose base name matches
 .IR GLOB ;
-the base name is the part after the last
-.BR / .
+the base name is the part after the last slash.
 A pattern can use
 .BR * ,
 .BR ? ,
diff --git a/doc/grep.texi b/doc/grep.texi
index 7ee64a7..e6e0dbe 100644
--- a/doc/grep.texi
+++ b/doc/grep.texi
@@ -672,10 +672,11 @@ this is equivalent to the @option{-r} option.
 @cindex searching directory trees
 Skip any command-line file with a name suffix that matches the pattern
 @var{glob}, using wildcard matching; a name suffix is either the whole
-name, or any suffix starting after a @samp{/} and before a
-non-@samp{/}.  When searching recursively, skip any subfile whose base
+name, or a trailing part that starts with a non-slash character
+immediately after a slash (@samp{/}) in the name.
+When searching recursively, skip any subfile whose base
 name matches @var{glob}; the base name is the part after the last
-@samp{/}.  A pattern can use
+slash.  A pattern can use
 @samp{*}, @samp{?}, and @samp{[}...@samp{]} as wildcards,
 and @code{\} to quote a wildcard or backslash character literally.
 

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

Summary of changes:
 doc/grep.in.1 | 11 +++++------
 doc/grep.texi |  7 ++++---
 2 files changed, 9 insertions(+), 9 deletions(-)


hooks/post-receive
-- 
grep

Reply via email to