blob: 3534ee2ea6703883fc5b0faf3ed6026acafc86a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
.Dd $Mdocdate$
.Dt CDBDUMP 1
.Os
.Sh NAME
.Nm cdbdump
.Nd print the contents of a cdb
.Sh SYNOPSIS
.Nm
<
.Ar CDB
.Sh DESCRIPTION
.Nm
prints the contents of a
.Xr cdb 5
read from stdin in a simple, unambiguous format.
For each record in the cdb,
.Nm
writes a record to stdout of the form:
.Dl +klen,dlen:key->data
followed by a newline.
The keys and data may contain null bytes, newlines,
or any other arbitrary binary data.
.Sh EXIT STATUS
.Bl -tag
.It 0
Success.
.It 100
Wrong usage.
.It 111
System call failed.
.El
.Sh SEE ALSO
.Xr cdb 5 ,
.Xr cdbget 1 ,
.Xr cdbmake 1
.Sh AUTHORS
.An Sam Nystrom Ao Mt sam@samnystrom.dev Ac
.An D. J. Bernstein (cdb and cdbmake formats, original cdbdump program)
.An Laurent Bercot (cdb read/write library)
|