Package: grep Version: 2.6.3-3 Severity: important Hi.
$ export LC_ALL=C $ export LANG=C $ echo -e "\t#define" | grep -E '^\s*[^#]' #define $ I was trying also changing \s to [[:space:]], or [ \t] or ( |\t), but it doesn't matter (it looks \s to be undocumented but it works). So it looks that character class/range, [^#] for some reason somehow much #, but it shouldn't. Why? I also manually compiled Debian's grep and found that one of the tests in 'make check' actually fail (include-exclude test), and the fact that there is ridicoulusly small ammount of tests (like just 12 cases) - it is useless for testing for regressions. Shouldn't this be improved, for example by harvesting all the regular expressions from the bug reports and adding them to the test suite? Thanks. -- System Information: Debian Release: 6.0.2 APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.37-rc3-sredniczarny-10767-g3561d43 Locale: LANG=pl_PL.utf8, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages grep depends on: ii dpkg 1.15.8.11 Debian package management system ii install-info 4.13a.dfsg.1-6 Manage installed documentation in ii libc6 2.11.2-11 Embedded GNU C Library: Shared lib grep recommends no packages. Versions of packages grep suggests: ii libpcre3 8.02-1.1 Perl 5 Compatible Regular Expressi -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org