Public bug reported: Binary package hint: grep
A command like "grep '[abcd]'", but with 8-bit charaters in place of [abcd], does not work properly. It fails to match anything. Why I care: constructions like this are used when building rus-ispell packages (Russian dictionaries for spell checkers) in order to generate variants of use of the Cyriilic Yo letter. Because of this bug, the resulting dictionaries are incomplete. Test script: === #!/bin/sh LANG=C LC_ALL=C export LANG LC_ALL printf '\100' | grep -c `printf '\100'` - printf '\100' | grep -c `printf '[\100]'` - printf '\200' | grep -c `printf '\200'` - printf '\200' | grep -c `printf '[\200]'` - === Output: 1 1 1 0 Expected output: 1 1 1 1 Version information: ~$ lsb_release -rd Description: Ubuntu 10.10 Release: 10.10 ~$ apt-cache policy grep grep: Installed: 2.6.3-3 Candidate: 2.6.3-3 Version table: *** 2.6.3-3 0 500 http://ru.archive.ubuntu.com/ubuntu/ maverick/main i386 Packages 100 /var/lib/dpkg/status ** Affects: grep (Ubuntu) Importance: Undecided Status: New -- grep does not work with 8-bit characters in bracket expressions https://bugs.launchpad.net/bugs/663224 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