Your message dated Thu, 9 Oct 2014 10:55:07 +0200
with message-id <20141009085507.GA9421@nomada>
and subject line Re: grep: [\-.] is no longer allowed but [.\-] still is
has caused the Debian Bug report #579821,
regarding grep: [\-.] is no longer allowed but [.\-] still is
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
579821: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=579821
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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



--- End Message ---
--- Begin Message ---
Package: grep

Closing this bug, since it's now the expected behaviour.

Cheers,

Santiago

--- End Message ---

Reply via email to