[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
grep branch, master, updated. v3.7-91-g739892e
From: |
Paul Eggert |
Subject: |
grep branch, master, updated. v3.7-91-g739892e |
Date: |
Sat, 4 Jun 2022 13:27:57 -0400 (EDT) |
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 739892e8d4461a8246fa4c6a0ece18a14ce1e51b (commit)
via 3b66aaf50aaf5f68919adcdc90657d82921eb3d9 (commit)
from 16469277b36b488b2fc5a4faccedf7b957ca47fb (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=739892e8d4461a8246fa4c6a0ece18a14ce1e51b
commit 739892e8d4461a8246fa4c6a0ece18a14ce1e51b
Author: Paul Eggert <eggert@cs.ucla.edu>
Date: Sat Jun 4 10:26:35 2022 -0700
doc: document \] and \}
* doc/grep.texi (Special Backslash Expressions)
(Problematic Expressions): Document that grep supports
\] and \} as extensions to POSIX.
diff --git a/doc/grep.texi b/doc/grep.texi
index c34a1ae..9f2f225 100644
--- a/doc/grep.texi
+++ b/doc/grep.texi
@@ -1487,6 +1487,12 @@ Match whitespace, it is a synonym for @samp{[[:space:]]}.
@item \S
Match non-whitespace, it is a synonym for @samp{[^[:space:]]}.
+@item \]
+Match @samp{]}.
+
+@item \@}
+Match @samp{@}}.
+
@end table
For example, @samp{\brat\b} matches the separate word @samp{rat},
@@ -1641,7 +1647,7 @@ portable scripts should avoid them:
@itemize @bullet
@item
-Special backslash expressions like @samp{\<} and @samp{\b}.
+Special backslash expressions like @samp{\b}, @samp{\<}, and @samp{\]}.
@xref{Special Backslash Expressions}.
@item
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=3b66aaf50aaf5f68919adcdc90657d82921eb3d9
commit 739892e8d4461a8246fa4c6a0ece18a14ce1e51b
Author: Paul Eggert <eggert@cs.ucla.edu>
Date: Sat Jun 4 10:26:35 2022 -0700
doc: document \] and \}
* doc/grep.texi (Special Backslash Expressions)
(Problematic Expressions): Document that grep supports
\] and \} as extensions to POSIX.
diff --git a/doc/grep.texi b/doc/grep.texi
index c34a1ae..9f2f225 100644
--- a/doc/grep.texi
+++ b/doc/grep.texi
@@ -1487,6 +1487,12 @@ Match whitespace, it is a synonym for @samp{[[:space:]]}.
@item \S
Match non-whitespace, it is a synonym for @samp{[^[:space:]]}.
+@item \]
+Match @samp{]}.
+
+@item \@}
+Match @samp{@}}.
+
@end table
For example, @samp{\brat\b} matches the separate word @samp{rat},
@@ -1641,7 +1647,7 @@ portable scripts should avoid them:
@itemize @bullet
@item
-Special backslash expressions like @samp{\<} and @samp{\b}.
+Special backslash expressions like @samp{\b}, @samp{\<}, and @samp{\]}.
@xref{Special Backslash Expressions}.
@item
-----------------------------------------------------------------------
Summary of changes:
doc/grep.texi | 8 +++++++-
gnulib | 2 +-
2 files changed, 8 insertions(+), 2 deletions(-)
hooks/post-receive
--
grep
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- grep branch, master, updated. v3.7-91-g739892e,
Paul Eggert <=