grep-commit
[Top][All Lists]
Advanced

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

grep branch, master, updated. v2.18-21-g5cf924c


From: Paul Eggert
Subject: grep branch, master, updated. v2.18-21-g5cf924c
Date: Thu, 06 Mar 2014 21:17:17 +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  5cf924cd2dc5221348c8f087f8a8507dc5ff7b54 (commit)
      from  251d08a1e03385c6d31478a2c06314a46f8a8e19 (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=5cf924cd2dc5221348c8f087f8a8507dc5ff7b54


commit 5cf924cd2dc5221348c8f087f8a8507dc5ff7b54
Author: Paul Eggert <address@hidden>
Date:   Thu Mar 6 13:16:48 2014 -0800

    doc: do not overpromise --ignore-case's behavior
    
    * NEWS: Omit vague statement about titlecase that could be
    misinterpreted, and is more trouble than it's worth.
    * doc/grep.texi: Add @documentencoding.  Fix copyright range to
    use endash not hyphen.
    (Matching Control): Do not overpromise what --ignore-case will do.
    Give examples of corner cases where the documentation does not
    specify behavior.

diff --git a/NEWS b/NEWS
index eaa3c96..2a62e7b 100644
--- a/NEWS
+++ b/NEWS
@@ -20,8 +20,6 @@ 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 both 'LJ' (U+01C7 LATIN CAPITAL LETTER LJ)
diff --git a/doc/grep.texi b/doc/grep.texi
index b9d6ec5..f631f03 100644
--- a/doc/grep.texi
+++ b/doc/grep.texi
@@ -13,10 +13,12 @@
 @syncodeindex vr cp
 @c %**end of header
 
address@hidden UTF-8
+
 @copying
 This manual is for @command{grep}, a pattern matching engine.
 
-Copyright @copyright{} 1999-2002, 2005, 2008-2014 Free Software Foundation,
+Copyright @copyright{} 1999--2002, 2005, 2008--2014 Free Software Foundation,
 Inc.
 
 @quotation
@@ -193,8 +195,19 @@ The empty file contains zero patterns, and therefore 
matches nothing.
 @opindex -y
 @opindex --ignore-case
 @cindex case insensitive search
-Ignore case distinctions, so that a pattern character matches not only
-itself in the text, but also its lowercase and uppercase counterparts, if any.
+Ignore case distinctions, 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
+unusual lowercase counterpart ``Å¿'' (Unicode character U+017F, LATIN
+SMALL LETTER LONG S) in many locales, and it is unspecified whether
+this unusual character matches ``S'' or ``s'' even though uppercasing
+it yields ``S''.  Another example: the lowercase German letter ``ß''
+(U+00DF, LATIN SMALL LETTER SHARP S) is normally capitalized as the
+two-character string ``SS'' but it does not match ``SS'', and it might
+not match the uppercase letter ``ẞ'' (U+1E9E, LATIN CAPITAL LETTER
+SHARP S) even though lowercasing the latter yields the former.
+
 @option{-y} is an obsolete synonym that is provided for compatibility.
 (@option{-i} is specified by POSIX.)
 

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

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


hooks/post-receive
-- 
grep



reply via email to

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