Package: grep
Version: 2.6.3-3
Severity: normal

This used to work in grep 2.5.4-4 :

  echo "hello" | grep "[\-.]"

but now it returns this:

  grep: Invalid range end

whereas the following has always worked fine (and continues to do so):

  echo "hello" | grep "[.\-]"

I'm not quite sure if one of them is valid and the other one isn't
(couldn't find this in the grep manual). But one thing to note is that
it used to work and so I had logcheck rules using it and then the
upgrade to grep 2.6 broke this for me.

Cheers,
Francois

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.33.2-grsec (SMP w/2 CPU cores)
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages grep depends on:
ii  dpkg                      1.15.7.1       Debian package management system
ii  install-info              4.13a.dfsg.1-5 Manage installed documentation in 
ii  libc6                     2.10.2-7       Embedded GNU C Library: Shared lib

grep recommends no packages.

Versions of packages grep suggests:
ii  libpcre3                      7.8-3      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

Reply via email to