Your message dated Sun, 02 Dec 2018 18:34:28 +0000
with message-id <[email protected]>
and subject line Bug#532541: fixed in grep 3.1-3
has caused the Debian Bug report #532541,
regarding grep -o fails to count empty lines
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.)
--
532541: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532541
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: grep
Version: 2.5.3~dfsg-6
Severity: normal
When grepping for empty lines in a text file, grep works correctly in most
cases:
~$ grep ^$ myfile.txt
~$ grep -n ^$ myfile.txt
11:
15:
19:
21:
22:
However the -o option, which is supposed to return only the matching parts of
the search, fails:
~$ grep -o ^$ myfile.txt
~$ grep -no ^$ myfile.txt
~$
In other versions, including 2.5.1 on Etch, grep -o ^$ would return exactly the
same as grep ^$, ie one empty line for each search hit.
Normally with -o each successful hit is printed on a new line, but in this case
it looks like grep thinks there is nothing to return so no new lines are
produced. I realise that exactly what grep should return when searching for
the beginning of a line followed by an end of line may not be immediately
clear, but I whould think a 'null' would be sufficient for each hit.
-- System Information:
Debian Release: 5.0.1
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.28.7mathstat (SMP w/1 CPU core)
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages grep depends on:
ii libc6 2.7-18 GNU C Library: Shared libraries
grep recommends no packages.
grep suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: grep
Source-Version: 3.1-3
We believe that the bug you reported is fixed in the latest version of
grep, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Santiago Ruano Rincón <[email protected]> (supplier of updated grep package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 02 Dec 2018 18:58:48 +0100
Source: grep
Binary: grep
Architecture: source
Version: 3.1-3
Distribution: unstable
Urgency: low
Maintainer: Anibal Monsalve Salazar <[email protected]>
Changed-By: Santiago Ruano Rincón <[email protected]>
Description:
grep - GNU grep, egrep and fgrep
Closes: 532541 907651 915206
Changes:
grep (3.1-3) unstable; urgency=low
.
[ Santiago Ruano Rincón ]
* Add upstream-532541-doc-improve-o-help.patch: Improve help about -o.
(Closes: #532541)
* Remove debian/patches/03-397262-dlopen-pcre.patch: dlopen libpcre.so.3 has
been actually wrongly applied and not really used. This patch does not
make sense any more (since stretch), since late-mounting of /usr is not
longer supported. (Closes: #907651)
* Add upstream-915206-0001-tests-backref-alt-works-with-glibc-2.28.patch.
Fix FTBFS with glibc 2.28. (Closes: #915206)
* d/source/options: remove compression = "bzip2", let dpkg-deb select
suitable defaults.
.
[ Ondřej Nový ]
* d/copyright: Use https protocol in Format field
* d/control: Remove Testsuite field, not needed anymore
* d/changelog: Remove trailing whitespaces
* d/rules: Remove trailing whitespaces
* d/control: Set Vcs-* to salsa.debian.org
Checksums-Sha1:
10e6a9075972d98a7be4812a6c400f0682af3c8a 2038 grep_3.1-3.dsc
e6b06840b91b25a9030d36e0ea0b9cf7c560bb94 105700 grep_3.1-3.debian.tar.xz
4762a1871f8edee415778713aae0d16fee6edb2f 6066 grep_3.1-3_amd64.buildinfo
Checksums-Sha256:
6595e7c7a09e762480c9fc6e7f45534de903396f17f71862e939154ec51afbd0 2038
grep_3.1-3.dsc
0e549e73f47d007eee51cd49a28eeaee74d9698703b958a5fe0bdab291ddfbaa 105700
grep_3.1-3.debian.tar.xz
56163163dd701a4063d678b8528d40da49ff17db1c2e0e6ce3beeb1f86e3a4c6 6066
grep_3.1-3_amd64.buildinfo
Files:
7a35ccb2e1ed7455b5bf2f924f2925a9 2038 utils required grep_3.1-3.dsc
08e50c382b41c5d1e41917f4c611bd89 105700 utils required grep_3.1-3.debian.tar.xz
a61ba9d458b5c21e25f20109161c4fd1 6066 utils required grep_3.1-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJIBAEBCgAyFiEEwUqnBPVvaa0NAVzHFX/a4RXx4q0FAlwEI/kUHHNhbnRpYWdv
QGRlYmlhbi5vcmcACgkQFX/a4RXx4q0YDA//bqwJp3vW92BI+whF1iWxQF/xXwVG
T6IhRqSrpgZWjaezHOE1TjQb+s23S4hRQJSSQPT/J+thc/j3co4heTmzpnNZrnIK
5XJHznQjddLxd/EjwhLBWN552CSFLS6BxoVUk/kI+N2Wbwhv06IRlG+Qdt9PwbXV
OxEM/3HM9bCk5RqBFmWd3vOFcEc7rpxYR/s1LOM4NpDPsgwIof/D1DlvHBvnuyjb
XyxKjJNQAAD/6SsF9Xc8HXkptESc2AjaMB0gcaOgUqHHBON7gmxSUTj3O0XE3F5G
7aT4Z6ItcqliT2mSZz3RP9rkloQOjeTa0go8T4N6+kKd8mf3MnEF2/HUK5Fqytmu
myoxlPxutEwb6QukJ5U+OrEPb1jIDZquVMUIbuJV14wepjkKCYwHjXZnBoVFUcaC
CGZfHsW5gEsZQjclt/uAW3JxGOi1g7cgauybecUiG57y/c5QhJp8Wtd0nnvEamnE
EbnN4a8RfDDzid9LRp9GW8vKmwvbHnW+CWrJXPJERKb4qFslHEFcg6DR0HAISFDY
mmsIQpP7V1PPEcOdpyHLKAv7xkSo7G75uOLaJx7qjTA73PdBKu1QBilxTFCHwD+r
ZZ179HX4iKr0UJOjXxTwvYMOYQz8j18iefWfWKLe3cLkgwCUC/gd9IQoqwQtJ+rm
QdY7iO4vcAslPx0=
=Ix/r
-----END PGP SIGNATURE-----
--- End Message ---