Package: grep Version: 2.14-1 Severity: minor Tags: upstream Dear Maintainer,
* What led up to the situation? I was configuring logcheck and made an error and got the following in the mail: "egrep: character class syntax is [[:space:]], not [:space:]" First I checked my recent changes, but there were no [:space:] used at all. I then searched the system logcheck files for any '[:space:]' outside a character class, but couldn't find one. I figured out that it was actually '[:digit:]' that caused this problem. I realize the error message might be giving an example, but in this case it was really confusing, as there were many patterns (most of them not maintained by me) and it took some time to figure out what the problem was since the egrep was run a while after I made the changes. I tested this on both testing/wheezy (2.12-2) as well as unstable/sid (2.14-1), both give the same result. * What exactly did you do (or not do) that was effective (or ineffective)? # Minimal working example with missing outer brackets: echo "This is 1 test" | egrep '[:digit:]' * What was the outcome of this action? egrep: character class syntax is [[:space:]], not [:space:] * What outcome did you expect instead? egrep: character class syntax is [[:digit:]], not [:digit:] -- System Information: Debian Release: 7.0 APT prefers testing APT policy: (900, 'testing'), (600, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages grep depends on: ii dpkg 1.16.9 ii install-info 4.13a.dfsg.1-10 ii libc6 2.13-38 grep recommends no packages. Versions of packages grep suggests: ii libpcre3 1:8.30-5 -- 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