summaryrefslogtreecommitdiff
path: root/db-show
blob: 5f16fc3c68f6233156ec2eff2aa9ef41cad92f66 (plain)
  1. #!/usr/bin/perl -w
  2. use strict;
  3. use DB_File;
  4. die "syntax: $0 filename.db [...]\n" unless @ARGV;
  5. file: for my $file (@ARGV) {
  6. my %h;
  7. dbmopen(%h, $file, 0) || do {
  8. warn "$0: dbmopen($file): $!\n";
  9. next file;
  10. };
  11. print "$_ -> $h{$_}\n" for keys %h;
  12. }
value='0' selected='selected'>includemode:
Diffstat (limited to 'tags/f5/81/20170402171117.3E49045DE@lxp5.free-owl.de/sys')
committerJonas Smedegaard <dr@jones.dk>2023-06-27 09:35:08 +0200
commitfd54908da2b05c526dd3bee9b6dcd093214a220d (patch)
treec69c845069c99d1d01044f6fafda7c08433329c6 /tags/f5/62/20180409160003.9841C131A@xayide.jones.dk/unread
parentba46132213560cf3335d53560d519c0ec0190da2 (diff)
master
Diffstat (limited to 'tags/f5/62/20180409160003.9841C131A@xayide.jones.dk/unread')