.Dd $Mdocdate$ .Dt CDBGET 1 .Os .Sh NAME .Nm cdbget .Nd print the data associated with one key in a cdb .Sh SYNOPSIS .Nm .Ar KEY Op Ar SKIP < .Ar CDB .Sh DESCRIPTION .Nm finds the record associated with a given .Ar KEY in a .Xr cdb 5 and writes the data in the record to stdout. If a .Ar SKIP is given, .Nm skips the first .Ar SKIP records matching the given .Ar KEY and writes the data in the .Ar SKIP Ns +1th record to stdout. .Sh EXIT STATUS .Bl -tag .It 0 Success. .It 1 Key not found. .It 100 Wrong usage. .It 111 System call failed. .El .Sh SEE ALSO .Xr cdb 5 , .Xr cdbdump 1 , .Xr cdbmake 1 .Sh AUTHORS .An Sam Nystrom Ao Mt sam@samnystrom.dev Ac .An D. J. Bernstein (cdb and cdbmake formats, original cdbget program) .An Laurent Bercot (cdb read/write library)