diff options
| author | Sam Nystrom <sam@samnystrom.dev> | 2024-01-15 13:35:27 -0500 |
|---|---|---|
| committer | Sam Nystrom <sam@samnystrom.dev> | 2024-01-15 13:35:27 -0500 |
| commit | 2bdd00aa69b901e5230c9b8c24727011626ebeaa (patch) | |
| tree | 27967a3ccc64ac477cb0336f4e61282e8ab832ff /cdbmake.1 | |
Diffstat (limited to 'cdbmake.1')
| -rw-r--r-- | cdbmake.1 | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/cdbmake.1 b/cdbmake.1 new file mode 100644 index 0000000..0d3d014 --- /dev/null +++ b/cdbmake.1 @@ -0,0 +1,43 @@ +.Dd $Mdocdate$ +.Dt CDBMAKE 1 +.Os +.Sh NAME +.Nm cdbmake +.Nd create a cdb +.Sh SYNOPSIS +.Nm +.Ar CDB Ar TMP +.Sh DESCRIPTION +.Nm +reads records of the form +.Dl +klen,dlen:key->data\n +from stdin and creates a +.Xr cdb 5 +containing those records at +.Ar TMP . +After reaching EOF on stdin and writing the cdb to +.Ar TMP , +.Nm +renames +.Ar TMP +to +.Ar CDB , +atomically replacing +.Ar CDB . +.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 cdbdump 1 +.Sh AUTHORS +.An Sam Nystrom Ao Mt sam@samnystrom.dev Ac +.An D. J. Bernstein (cdb and cdbmake formats, original cdbmake program) +.An Laurent Bercot (cdb read/write library) |
