builds a hashed database out of the
logical database constructed by the concatenation of the specified
The database is named by the basename of the first file argument and
routines can access the database in this form much more quickly
than they can the original text file(s).
capabilities of the records are expanded before the
record is stored into the database.
The options are as follows:
Specify a different database basename.
Expect the capability records to be parsed to be in
Print out the number of capability records in the database.
Each record is stored in the database using two different types of keys.
The first type is a key which consists of the first capability of
the record (not including the trailing colon
with a data
field consisting of a special byte followed by the rest of the record.
The special byte is either a 0 or 1, where a 0 means that the record
is okay, and a 1 means that there was a
capability in the record
that couldn't be expanded.
The second type is a key which consists of one of the names from the
first capability of the record with a data field consisting a special
byte followed by the first capability of the record.
The special byte is a 2.
In normal operation names are looked up in the database, resulting
in a key/data pair of the second type.
The data field of this key/data pair is used to look up a key/data
pair of the first type which has the real data associated with the
utility exits 0 on success or >0 if an error occurred.