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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 30643 in the body.
You can then email your comments to 30643 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-grep <at> gnu.org:
bug#30643; Package grep. (Wed, 28 Feb 2018 08:24:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>:
New bug report received and forwarded. Copy sent to bug-grep <at> gnu.org. (Wed, 28 Feb 2018 08:24:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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").




Reply sent to Paul Eggert <eggert <at> cs.ucla.edu>:
You have taken responsibility. (Tue, 22 Sep 2020 18:58:02 GMT) Full text and rfc822 format available.

Notification sent to 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>:
bug acknowledged by developer. (Tue, 22 Sep 2020 18:58:02 GMT) Full text and rfc822 format available.

Message #10 received at 30643-done <at> debbugs.gnu.org (full text, mbox):

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.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 21 Oct 2020 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 181 days ago.

Previous Next


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