← 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 copies the records from a simple database into another simple database. The records are converted to the new database type if necessary.
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 copies one simple text database into another.
See the [dk-dbco 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