Your message dated Sat, 16 May 2015 11:32:22 +0200
with message-id <20150516093222.GA18961@novelo>
and subject line Fixed in grep 2.21
has caused the Debian Bug report #773560,
regarding grep: with -P (PCRE), $ matches an invalid character
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.)
--
773560: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=773560
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: grep
Version: 2.20-4
Severity: normal
With -P (PCRE), $ matches an invalid character, while it should match
only an end of line. Example:
$ printf 'ab\377cd\n' | grep -a -P '^.*$'
ab�cd
$ printf 'ab\377cd\n' | grep -a -P '^.*d'
$
I cannot reproduce this problem with upstream's grep 2.21.
-- System Information:
Debian Release: 8.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1,
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages grep depends on:
ii dpkg 1.17.22
ii install-info 5.2.0.dfsg.1-6
ii libc6 2.19-13
ii libpcre3 2:8.35-3.3
grep recommends no packages.
grep suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Version: 2.21-1
Hi,
Thanks for reporting this. As you say, this has been fixed by upstream
in 2.21.
Regards,
Santiago
signature.asc
Description: Digital signature
--- End Message ---