bug-grep
[Top][All Lists]
Advanced

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

bug#30643: Mention . won't match illegal characters


From: 積丹尼 Dan Jacobson
Subject: bug#30643: 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 via email to

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