DBMDUMP(1)
NAME
dbmdump - dump all nodes from a dbm file
SYNOPSIS
dbmdump
[
options
]
dbmfile
DESCRIPTION
dbmdump dumps a dbm database as plain text.
All nodes and values are printed, one per line,
separated by a tab character.
(The order in which the nodes are printed is of course arbitrary.)
The option flags are:
- -b
 - Data values being dumped are expected to be arbitrary binary data.
 - -d
 - Dump data values only, not keys.
 - -l
 - List:
print keys only, not values.
 - -ml
 - Multiline:
if a value consists of multiple lines
(i.e. contains embedded newline characters),
print the second and following lines
preceded by an extra tab character.
(Also essentially implies -nl.)
 - -nl
 - If the last character of a value happens to be a newline,
don't print an extra newline.
 - -x
 - Hexadecimal:
print data values as a string of hex digits.
(With -ml, break long hex strings onto multiple lines.)
 - -version
 - Print program's version number.
 - -?, -h
 - Print a brief usage summary / help message.
 
dbmdump's output is suitable for piping into
dbmstore's file-input mode,
for reconstructing or otherwise copying dbm files.
Furthermore, if the -ml option flag is used with both dbmdump and dbmstore,
multiline nodes can be copied as well.
(Furthermore, if the -x option flag is used
with both dbmdump and dbmstore,
binary data can be copied as well.)
HISTORY
This documentation corresponds to version 2.3
of the dbmtools package.
See
http://www.eskimo.com/~scs/src/#dbmtools
for possible updates.
SEE ALSO
dbmstore,
dbmfetch,
dbmdelete,
dbmutil
dbm(3),
ndbm(3),
gdbm(3)
AUTHOR
Steve Summit,
scs@eskimo.com