GNU bug report logs - #38223
grep >=2.28 cannot handle -wF correctly under LANG=ja_JP.eucjp

Previous Next

Package: grep;

Reported by: "NIDE, Naoyuki" <nide <at> ics.nara-wu.ac.jp>

Date: Fri, 15 Nov 2019 19:54:02 UTC

Severity: normal

Tags: moreinfo

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Jim Meyering <jim <at> meyering.net>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: Norihiro Tanaka <noritnk <at> kcn.ne.jp>, 38223 <at> debbugs.gnu.org
Subject: bug#38223: grep >=2.28 cannot handle -wF correctly under LANG=ja_JP.eucjp
Date: Sun, 17 Nov 2019 10:55:59 -0800
On Sun, Nov 17, 2019 at 8:28 AM Paul Eggert <eggert <at> cs.ucla.edu> wrote:
> Thanks for fixing that. Although the patch says "[Bug#38223 introduced in grep
> 3.0]", the original bug report is against grep 2.28 and later. Can I take it
> that we tried to fix the bug in 3.0 but the fix was incomplete?

Thanks for noting that. I confirm that 2.10 through 2.27 are fine, and
that this does afflict 2.28, but see it affected no other release
until 3.0. Probably deserves more investigation.

$ for i in grep-*; do echo $i: $(echo ab | LC_CTYPE=ja_JP.eucjp
$i/bin/grep -Fw b); done|sed 's,.*-,,'
2.10:
2.11:
2.12:
2.13:
2.14:
2.15:
2.16:
2.17:
2.18:
2.19:
2.20:
2.21:
2.22:
2.23:
2.24:
2.25:
2.26:
2.27:
2.28: ab
2.3:
2.4:
2.4.1:
2.4.2:
2.5:
2.5.1:
2.5.3:
2.5.4:
2.6:
2.6.1:
2.6.2:
2.6.3:
2.7:
2.8:
2.9:
3.0: ab
3.1: ab
3.2: ab
3.3: ab




This bug report was last modified 5 years and 173 days ago.

Previous Next


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