I can confirm this bug happens in UTF-8 locales.

This case fails:
$ echo Y | LC_ALL=en_US.UTF-8 grep -i '[y]'
$

And this one works as expected:
$ echo Y | LC_ALL=C grep -i '[y]'
Y
$

The patch 66-match_icase.patch is supposed to make the case-insensitive
searches work in non-UTF-8 locales, but it appears not to be working
(maybe it's not being applied at all?).

-- 
grep -i fails to work on intrepid
https://bugs.launchpad.net/bugs/241990
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to