Re: [cricket-users] Direct access to config.db

From: Peter Bogdanovic (peter@gstworld.net)
Date: Wed Jan 19 2000 - 08:59:15 PST


From: Peter Bogdanovic <peter@gstworld.net>

Well, I don't claim to know much about cricket but db files are a snap. The
config.db is just a berkeley db file.

#!/opt/local/bin/perl

use DB_File;

tie(%cricketconf, 'DB_File', '/u/peter/cricket-config/config.db');

foreach $k (keys %cricketconf) {
    printf "key: %s\nvalue: %s\n\n", $k, $cricketconf{$k};
}

Peter

In message <Pine.LNX.4.21.0001191137150.8186-100000@penguin.circa.ufl.edu>, Jam
es Moore writes:
>From: James Moore <jm@ufl.edu>
>
>
>Is there anyone out there that has a quick perl script to dump the
>contents of config.db? Is there a document out there that describes the
>structure of config.db?
>
>
>
>--
>James Moore -- jm@ufl.edu
>CIRCA Telecommunications
>University of Florida
>voice: 392-2007 fax: 392-3760
>
>
>--------------------------- ONElist Sponsor ----------------------------
>
> Hey Freelancers: Find your next project through JobSwarm!
> You can even make money in your sleep by referring friends.
><a href=" http://clickme.onelist.com/ad/jobswarm1 ">Click Here</a>
>
>------------------------------------------------------------------------
>

--------------------------- ONElist Sponsor ----------------------------

  Hey Freelancers: Find your next project through JobSwarm!
  You can even make money in your sleep by referring friends.
<a href=" http://clickme.onelist.com/ad/jobswarm1 ">Click Here</a>

------------------------------------------------------------------------



This archive was generated by hypermail 2b29 : Mon Mar 06 2000 - 19:01:11 PST