Utility to create and manipulate constant databases.
Constant databases acts as an on-disk key/value map providing very fast and reliable lookups.
More informations on djb’s website.
Refer to cdb(1) manual page for details and examples. The below commands are provided as a quick introduction.
Create and query a constant database
cat <<EOF | cdb -m file.cdb
+3,5:one->Hello
+3,7:two->Goodbye
EOF
cdb -k one file.cdb
Hello
For more infomations about the input format, see cdb(5).
Edit config.mk as needed, then build/install with the following commands:
make
make install
git clone git://z3bra.org/
cdb.git
If you find any bug, please report them or send a patch to dev@z3bra.org.