On Fri, Oct 21, 2011 at 10:16:49PM -0400, A. Costa wrote:
>       % dglob bash | cat -n
>            1  bash-doc
>            2  
>            3  bash-completion
>            4  
>            5  bashdb
>            6  
>            7  bash
>            8  
> 
> (It used to be single spaced.)

I cannot reproduce this:

$ dglob bash| cat -n
1  bash-doc
2  bash-completion
3  bash

Using dctrl-tools version 2.18 (you have 2.19 installed), so it might be due
to a change in behaviour of grep-dctrl or grep-aptavail.

[ after an upgrade to 2.19 ]

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)


Dglob ends up running:

grep-dctrl -FStatus ' installed' /var/lib/dpkg/status | grep-dctrl -PnsPackage 
bash

which indeed outputs the information with extra empty lines.

I will introduce a workaround in dglob, but I'm reassigning this to
dctrl-tools too.

Regards

Javier


Attachment: signature.asc
Description: Digital signature

Reply via email to