On 10 July 2013 09:20, Paul Wise <p...@debian.org> wrote: > On Wed, Jul 10, 2013 at 4:08 PM, Andrey Ponomarenko wrote: > >> There is a simple Perl script to do that: > > Thanks, what about including this capability in a-c-c itself? >
I'd take a patch to dh-acc ;-) >> my $Version = `dpkg -s $Package|grep Version`; >> chomp($Version); >> $Version=~s/\AVersion:\s*//g; > > This would be better: > > dpkg-query -W -f='${Version}' $Package > > -- > bye, > pabs > > http://wiki.debian.org/PaulWise > > > -- > To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > Archive: > http://lists.debian.org/CAKTje6G1YemXb+tNYEUi_vZu-HSpRXQc98o=e5eX5=xt-p4...@mail.gmail.com > -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/canbhluivgsonazfs-97pfrjkgnz-bqrw5x7kcrcoyogrpbx...@mail.gmail.com