| gindxbib(1) | User Commands | gindxbib(1) |
gindxbib - make inverted index of bibliographic databases
gindxbib |
[-w] [-c common-words-file] [-d dir] [-f list-file] [-h min-hash-table-size] [-i excluded-fields] [-k max-keys-per-record] [-l min-key-length] [-n threshold] [-o file] [-t max-key-length] [file ...] |
gindxbib |
--help |
gindxbib |
-v |
gindxbib |
--version |
gindxbib makes an inverted index of the bibliographic databases in each file to speed their access by grefer(1), glookbib(1), and lkbib(1). The program writes to a temporary file that it later renames to file.i. If no file operands are present and no -o option is given, gindxbib names the index Ind.i.
Bibliographic databases are divided into records by blank lines. Within a record, each field starts with a % character at the beginning of a line. Fields have a one-letter name that follows the % character.
gindxbib stores the values set by the -c, -l, -n, and -t options in the index: programs that search the index interpret them, discarding and truncating keys appropriately, and using the original keys to verify that any record found using the index actually contains the keys. This means that a user of an index need not know whether these options were used in the creation of the index, provided that not all the keys to be searched for would have been discarded during indexing and that the user supplies at least the part of each key that would have remained after being truncated during indexing. gindxbib also stores the value set by the -i option in the index for use in verifying records found using it.
--help displays a usage message, while -v and --version show version information; all exit afterward.
gindxbib exits with status 0 on successful operation, status 2 if the program cannot interpret its command-line arguments, and status 1 if it encounters an error during operation.
“Some Applications of Inverted Indexes on the Unix System”, by M. E. Lesk, 1978, AT&T Bell Laboratories Computing Science Technical Report No. 69.
grefer(1), lkbib(1), glookbib(1)
| 2026-03-14 | groff 1.24.1 |