cdbget

Langue: en

Autres versions - même langue

Version: 57220 (mandriva - 22/10/07)

Section: 1 (Commandes utilisateur)

NAME

cdbget - look up one key in a constant database

SYNOPSIS

cdbget key

DESCRIPTION

cdbget searches for a record indexed by key in a constant database. The constant database must be readable (and seekable) on cdbget's standard input.

cdbget normally (1) prints the data in the first matching record and (2) exits 0. Note that cdbget does not check for write errors, so it should be used only inside a pipe.

If key is not in the database, cdbget exits 1 without printing anything.

If cdbget encounters a read error, it complains and exits 111.

SEE ALSO

cdbdump(1), cdbmake(1), cdb(3)