From 2bdd00aa69b901e5230c9b8c24727011626ebeaa Mon Sep 17 00:00:00 2001 From: Sam Nystrom Date: Mon, 15 Jan 2024 13:35:27 -0500 Subject: init --- cdbdump.1 | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 cdbdump.1 (limited to 'cdbdump.1') diff --git a/cdbdump.1 b/cdbdump.1 new file mode 100644 index 0000000..3534ee2 --- /dev/null +++ b/cdbdump.1 @@ -0,0 +1,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) -- cgit v1.2.3