bug-grep
[Top][All Lists]
Advanced

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

bug#19095: [PATCH] grep: grep -F fails to match at the next position aft


From: Norihiro Tanaka
Subject: bug#19095: [PATCH] grep: grep -F fails to match at the next position after matched middle of a multi-byte character
Date: Wed, 19 Nov 2014 00:45:57 +0900

grep -F skips an extra character after matched middle of multi-byte
character.  As a result, fails to match at the next position.  A test
case for this bug is already included in tests/sjis-mb.

For example, Following test is failure on grep-2.19 or later.

$ printf '\203AA\n' >in
$ env LC_ALL=ja_JP.SHIFT-JIS src/grep -F A in

We expect that it matches at the second A and outputs the line, but
doesn't output.

Attachment: 0001-grep-grep-F-fails-to-match-at-the-next-position-afte.patch
Description: Text document


reply via email to

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