/[webpac]/branches/hidra/tools/dump_tdb.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /branches/hidra/tools/dump_tdb.pl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 242 - (show annotations)
Mon Mar 8 18:07:37 2004 UTC (20 years ago) by dpavlin
File MIME type: text/plain
File size: 325 byte(s)
creating hidra branch of code

1 #!/usr/bin/perl -w
2
3 use strict;
4 use TDB_File;
5 use Fcntl; # for O_RDWR
6
7 my $tdb_file=shift @ARGV;
8 if (! $tdb_file) {
9 print "usage: $0 [tdb file]\n";
10 exit 1;
11 }
12
13 my %tdb_file;
14 tie %tdb_file, 'TDB_File', $tdb_file, TDB_DEFAULT, O_RDWR, 0644;
15 foreach (sort keys %tdb_file) {
16 print "$_\t",$tdb_file{$_},"\n";
17 }
18 untie %tdb_file;

Properties

Name Value
cvs2svn:cvs-rev 1.1
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26