GNU bug report logs - #30643
Mention . won't match illegal characters

Previous Next

Package: grep;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Wed, 28 Feb 2018 08:24:01 UTC

Severity: wishlist

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#30643: closed (Mention . won't match illegal characters)
Date: Tue, 22 Sep 2020 18:58:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 22 Sep 2020 11:57:02 -0700
with message-id <52b19f39-76b9-bd97-b6d3-420dc99fef33 <at> cs.ucla.edu>
and subject line Mention . won't match illegal characters
has caused the debbugs.gnu.org bug report #30643,
regarding Mention . won't match illegal characters
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
30643: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=30643
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: bug-grep <at> gnu.org
Subject: Mention . won't match illegal characters
Date: Wed, 28 Feb 2018 14:30:24 +0800
$ man grep says

       The period . matches any single character.

OK but it should also mention that illegal characters for the current
locale will never be matched by ".".

$ LC_ALL=C           grep  .東看 x.html|qprint -e
          <p>=E5?=91=E6=9D=B1=E7=9C=8B</p>
$ LC_ALL=zh_TW.UTF-8 grep  .東看 x.html|qprint -e
$

Also mention it on (info "(grep) Fundamental Structure").


[Message part 3 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 30643-done <at> debbugs.gnu.org
Subject: Mention . won't match illegal characters
Date: Tue, 22 Sep 2020 11:57:02 -0700
> $ man grep says
> 
>        The period . matches any single character.
> 
> OK but it should also mention that illegal characters for the current
> locale will never be matched by ".".


This has been done, by adding "It is unspecified whether it matches an encoding 
error" as part of a fix for Bug#30643. Thanks for reporting the problem.


This bug report was last modified 4 years and 242 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.