berkdb2csv 1.0 - 2006/09/06
===========================


Introduction
------------

berkdb2csv is a simple tool for exporting data from a Berkley db4 database 
to a csv file. Its only really purpose is save somebody from having to learn
anything about programming Berkley databases. 

You'll need to know the format of the database and have some minor C
programming skills to use berkdb2csv.


Using berkdb2csv
----------------

To use berkdb2csv, the files customdb.c and customdb.h need modifying.

customdb.h contains the description of your database - the struct needs to be
identical to the one used to create the database originally. You should also
set DBNAME to the path to your database.

customdb.c contains the function used to print the database information. You
should set the printf format and arguments to match the database structure you
defined in customdb.h.

To compile, simply run "make". You may need to modify Makefile if you aren't
using gcc or your libdb is in a non-standard location.

To use:

./berkdb2csv > example.csv


Contact
-------

berkdb2csv was written by Roger Light. Questions, bug reports or suggestions
are very welcome.

Contact me on roger@atchoo.org

Any updates to berkdb2csv can be found at
http://atchoo.org/tools/berkdb2csv/

