This is lgdbm, a Lua interface to gdbm, the GNU database manager available at
	https://www.gnu.org/software/gdbm/

If you don't have gdbm in your system, download and build it with
	make -C src get all

To build lgdbm and run a simple test, just do
	make			# if you have built gdbm in src/
	make MYLIBS=-lgdbm	# if you have gdbm in your system

If Lua is not installed in /usr/local, tell make:
	make LUA_TOPDIR=/var/tmp/lhf/lua-5.5.0/install

To install the library where Lua can find it, use a variant of these:
	make install
	sudo make install
	sudo make install LIBDIR=/usr/local/lib/lua/5.5

For detailed installation instructions, see
	https://www.tecgraf.puc-rio.br/~lhf/ftp/lua/install.html

For the latest version of this library, see
	https://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#lgdbm

The library is simple; see the summary below and the gdbm manual.
Read test.lua to see the library in action. It also provides gdbm.proxy,
which creates table proxies for gdbm databases, and two "for" generators:
"keys" and "entries", for convenient traversal of databases.

This code is hereby placed in the public domain and also under the MIT license.

Please send comments, suggestions, and bug reports to lhf@tecgraf.puc-rio.br .

gdbm library:
close(db)			lasterror(db)
copymeta(dst,src)		load(db,input,[replace])
count(db)			needsrecovery(db)
delete(db,key)			nextkey(db,key)
dump(db,output)			open(db,mode)
exists(db,key)			recover(db)
export(db,file)			reorganize(db)
fetch(db,key)			replace(db,key,data)
firstkey(db)			sync(db)
import(db,file,[replace])	version
insert(db,key,data)
