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? > 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