[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
grep branch, master, updated. v3.3-15-gcbf55df
From: |
Paul Eggert |
Subject: |
grep branch, master, updated. v3.3-15-gcbf55df |
Date: |
Thu, 3 Oct 2019 18:23: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 cbf55dfc4c224fb0f918fcd526e105ecc4022c78 (commit)
from 706855071736294c541410eac959b167bb346ed5 (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=cbf55dfc4c224fb0f918fcd526e105ecc4022c78
commit cbf55dfc4c224fb0f918fcd526e105ecc4022c78
Author: Paul Eggert <address@hidden>
Date: Thu Oct 3 15:23:33 2019 -0700
grep: tighten -i doc
* doc/grep.in.1:
* doc/grep.texi (Matching Control):
* src/grep.c (usage):
Make it clearer that -i affects patterns and data, but not
file names (Bug#37604).
diff --git a/doc/grep.in.1 b/doc/grep.in.1
index 4a3e274..a2cbf5c 100644
--- a/doc/grep.in.1
+++ b/doc/grep.in.1
@@ -250,7 +250,8 @@ option, search for all patterns given.
The empty file contains zero patterns, and therefore matches nothing.
.TP
.BR \-i ", " \-\^\-ignore\-case
-Ignore case distinctions, so that characters that differ only in case
+Ignore case distinctions in patterns and input data,
+so that characters that differ only in case
match each other.
.TP
.BR \-v ", " \-\^\-invert\-match
diff --git a/doc/grep.texi b/doc/grep.texi
index e6e0dbe..f5edc72 100644
--- a/doc/grep.texi
+++ b/doc/grep.texi
@@ -198,7 +198,8 @@ The empty file contains zero patterns, and therefore
matches nothing.
@opindex -y
@opindex --ignore-case
@cindex case insensitive search
-Ignore case distinctions, so that characters that differ only in case
+Ignore case distinctions in patterns and input data,
+so that characters that differ only in case
match each other. Although this is straightforward when letters
differ in case only via lowercase-uppercase pairs, the behavior is
unspecified in other situations. For example, uppercase ``S'' has an
diff --git a/src/grep.c b/src/grep.c
index ef6abb8..4b6b465 100644
--- a/src/grep.c
+++ b/src/grep.c
@@ -1926,7 +1926,7 @@ Pattern selection and interpretation:\n"), getprogname
());
printf (_("\
-e, --regexp=PATTERNS use PATTERNS for matching\n\
-f, --file=FILE take PATTERNS from FILE\n\
- -i, --ignore-case ignore case distinctions\n\
+ -i, --ignore-case ignore case distinctions in patterns and data\n\
-w, --word-regexp match only whole words\n\
-x, --line-regexp match only whole lines\n\
-z, --null-data a data line ends in 0 byte, not newline\n"));
-----------------------------------------------------------------------
Summary of changes:
doc/grep.in.1 | 3 ++-
doc/grep.texi | 3 ++-
src/grep.c | 2 +-
3 files changed, 5 insertions(+), 3 deletions(-)
hooks/post-receive
--
grep
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- grep branch, master, updated. v3.3-15-gcbf55df,
Paul Eggert <=