← Previous | ↑ Home | → Next |
Some of the DK tools programs - i.e. [printqd] - need to save data in a hash table. Data is stored in key/value pairs, keys are unique within a hash table. Both key and value are arrays of bytes.
In simple text databases as a special case we use text strings as key and value. When storing strings the terminating 0x00 character is stored with the string. The key string must not contain spaces, the value string can contain spaces.
The program shows a simple text database as text on standard output.
Use type::filename to specify databases (Type and file name are separated by two colons). The following type names can be used:
Type | Database type |
---|---|
bdb | Berkeley DB |
ndbm | NDBM database |
mem | In-memory database |
This program stores a simple text database as text file you can edit.
See the [dk-db2t manual] for the full documentation of the program.
← Previous | ↑ Home | → Next |
Wiki: Home
Wiki: dk-db2t manual
Wiki: dk-dbco manual
Wiki: dk-t2db manual
Wiki: printqd