indxbib(1)
π indxbib β General Commands Manual, bestie edition
okay so this is indxbib(1), and yes the man page name is literally in the title because that's just how man pages do π
β¨ NAME β¨
indxbib β make an inverted index for bibliographic databases. that's it, that's the whole vibe. she builds indexes. iconic behavior honestly π
π¦ SYNOPSIS π¦
indxbib [-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 ...]
indxbib --help
indxbib -v
indxbib --version
πΈ DESCRIPTION πΈ
so indxbib makes an inverted index for the bibliographic databases in each file, and that index is for use with refer(1), lookbib(1), and lkbib(1). found family fr π«Ά
each created index is named file.i β and like, writing happens to a temporary file first which is then renamed to that name, so no half-written messy index energy π
. if no file operands are given on the command line because the -f option has been used, and no -o option is given, the index will be named Ind.i. periodt.
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. that's the whole grammar bestie, it's lowkey elegant π
now the important lore π β the values set by the -c, -l, -n, and -t options are stored in the index. so when the index is searched, keys will be discarded and truncated in a manner appropriate to these options; the original keys will be used for verifying that any record found using the index actually contains the keys. this means 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. it's giving "future-proof and also you don't have to care" β¨
the value set by the -i option is also stored in the index and will be used in verifying records found using the index. yes she remembers that too π
π OPTIONS π
--helpβ displays a usage message, while-vand--versionshow version information; all exit afterward. short king behavior, in and out, no loitering πͺπ¨-ccommon-words-file β read the list of common words from common-words-file instead of/usr/share/groff/1.23.0/eign.-ddir β use dir as the name of the directory to store in the index, instead of that returned bygetcwd(2). typically, dir will be a symbolic link whose target is the current working directory. main character directory energy π-flist-file β read the files to be indexed from list-file. if list-file is-, files will be read from the standard input stream. the-foption can be given at most once β do not test her, she said once π-hmin-hash-table-size β use the first prime number greater than or equal to the argument for the size of the hash table. larger values will usually make searching faster, but will make the index file larger and causeindxbibto use more memory. the default hash table size is997. prime numbers, we stan a mathematically slay choice π₯-iexcluded-fields β don't index the contents of fields whose names are in excluded-fields. field names are one character each. if this option is not present,indxbibexcludes fieldsX,Y, andZ. leave those three on read βοΈ-kmax-keys-per-record β use no more keys per input record than specified in the argument. if this option is not present, the maximum is100.-lmin-key-length β discard any key whose length in characters is shorter than the value of the argument. if this option is not present, the minimum key length is3. tiny keys get ghosted π»-nthreshold β discard the threshold most common words from the common words file. if this option is not present, the100most common words are discarded. bye bye "the", "and", and the whole entourage π-obasename β name the indexbasename.i. you get to pick the name, slay π¦-tmax-key-length β truncate keys to max-key-length in characters. if this option is not present, keys are truncated to6characters. snip snip βοΈ-wβ index whole files. each file is a separate record. no field-splitting, just vibes π«Ά
π§ FILES π§
file.iβ index for fileInd.iβ default index name/usr/share/groff/1.23.0/eignβ contains the list of common words. the traditional name, βeignβ, is an abbreviation of βEnglish ignored [word list]β. fun fact, iykyk πindxbibXXXXXXβ temporary file. she's temporary but she's doing her best π
π SEE ALSO π
- βSome Applications of Inverted Indexes on the Unix Systemβ, by M. E. Lesk, 1978, AT&T Bell Laboratories Computing Science Technical Report No. 69. yes it's a whole paper, yes it's cited with full government name, we respect the classics π
refer(1),lkbib(1),lookbib(1)β the rest of the friend group, go say hi π
and that's the whole page bestie, no cap, every last flag accounted for πβ¨π
this iconic little number is from groff 1.23.0, dated 29 October 2024 β go drink some water and index something π«ΆπΈ
π¦ where this page comes from
- centos-stream 10: groff 1.23.0-10.el10 Β· GPL-3.0-or-later AND GFDL-1.3-or-later AND BSD-4-Clause-UC AND MIT AND X11 AND LicenseRef-Fedora-Public-Domain
- Copyright (C) 1989-2020 Free Software Foundation, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms