From: Dobrica Pavlinusic Date: Sat, 13 Dec 2014 13:02:38 +0000 (+0100) Subject: write decimal and hex address X-Git-Url: http://git.rot13.org/?p=vrDialog;a=commitdiff_plain;h=7aaace97d931ab95737c6b87a608f7247317e46b write decimal and hex address --- diff --git a/db3-dump.pl b/db3-dump.pl index 087fb14..ec8843e 100755 --- a/db3-dump.pl +++ b/db3-dump.pl @@ -45,7 +45,8 @@ order by adresse $sth->execute; while( my $row = $sth->fetchrow_hashref ) { - printf "%02x %-27s %-15s %s %s\n", + printf "%-3d %02x %-27s %-15s %s %s\n", + $row->{adresse}, $row->{adresse}, $types->{ $row->{typid} }, $units->{ $row->{id} },