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: 積丹尼 Dan Jacobson <jidanni <at> jidanni.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 bug report

#30643: Mention . won't match illegal characters

which was filed against the grep package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 30643 <at> debbugs.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: 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.

[Message part 3 (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").



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.