grep-commit
[Top][All Lists]
Advanced

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

grep branch, master, updated. v2.18-14-g248f849


From: Paul Eggert
Subject: grep branch, master, updated. v2.18-14-g248f849
Date: Sat, 01 Mar 2014 23:05:12 +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  248f8490f1cf4e3e4f4e1b79a4c3fd61c23251c3 (commit)
      from  26c2c2a2fecdd131048ca35ae13c000cd448315f (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=248f8490f1cf4e3e4f4e1b79a4c3fd61c23251c3


commit 248f8490f1cf4e3e4f4e1b79a4c3fd61c23251c3
Author: Paul Eggert <address@hidden>
Date:   Sat Mar 1 15:04:29 2014 -0800

    doc: describe titlecase fix better
    
    * NEWS: Document behavior on lowercase text too.
    Suggested by Eric Blake in <http://bugs.gnu.org/16911#10>.
    * doc/grep.texi (Matching Control): Specify behavior of -i
    more precisely.

diff --git a/NEWS b/NEWS
index 4b1364c..eaa3c96 100644
--- a/NEWS
+++ b/NEWS
@@ -20,9 +20,12 @@ GNU grep NEWS                                    -*- outline 
-*-
   per the documentation on how grep's -w works.
 
   grep -i no longer mishandles patterns containing titlecase characters.
+  A pattern character now matches its lowercase and uppercase
+  counterparts, even when they both differ from the pattern.
   For example, in a locale containing the titlecase character
   'Lj' (U+01C8 LATIN CAPITAL LETTER L WITH SMALL LETTER J),
-  'grep -i Lj' now matches 'LJ' (U+01C7 LATIN CAPITAL LETTER LJ).
+  'grep -i Lj' now matches both 'LJ' (U+01C7 LATIN CAPITAL LETTER LJ)
+  and 'lj' (U+01C9 LATIN SMALL LETTER LJ).
 
 
 * Noteworthy changes in release 2.18 (2014-02-20) [stable]
diff --git a/doc/grep.texi b/doc/grep.texi
index e82f34d..b9d6ec5 100644
--- a/doc/grep.texi
+++ b/doc/grep.texi
@@ -193,7 +193,8 @@ The empty file contains zero patterns, and therefore 
matches nothing.
 @opindex -y
 @opindex --ignore-case
 @cindex case insensitive search
-Ignore case distinctions in both the pattern and the input files.
+Ignore case distinctions, so that a pattern character matches not only
+itself in the text, but also its lowercase and uppercase counterparts, if any.
 @option{-y} is an obsolete synonym that is provided for compatibility.
 (@option{-i} is specified by POSIX.)
 

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

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


hooks/post-receive
-- 
grep



reply via email to

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