On Sun, Oct 23, 2011 at 01:54:00PM +0200, Javier Fernández-Sanguino Peña wrote: > Yes, indeed, the bug is introduced because of 2.19.It might be because of > this change: > > * grep-dctrl/grep-dctrl.c: Output a stanza separator unconditionally. > Closes: #525525 (do not separate stanzas with empty lines when showing > Description field only)
It certainly is. If you look at the bug log, you see we discussed the possibility of scripts relying on this (arguably broken) behaviour, but it did not occur to us to check if there are such scripts in Debian. I probably should add an option to reinstate the old behaviour. > grep-dctrl -FStatus ' installed' /var/lib/dpkg/status | grep-dctrl > -PnsPackage bash You know, you could do that in one grep-dctrl call: grep-dctrl -FStatus ' installed' -a -PnsPackage bash /var/lib/dpkg/status Perhaps -n should default to the old behaviour after all. > I will introduce a workaround in dglob, but I'm reassigning this to > dctrl-tools too. Did you? I don't see any evidence that you did - I noticed this by looking at my upgrade changelogs :-) -- Antti-Juhani Kaijanaho, Jyväskylä, Finland http://antti-juhani.kaijanaho.fi/newblog/ http://www.flickr.com/photos/antti-juhani/
signature.asc
Description: Digital signature

