indxbib(1)

πŸ“¦
version 1.23.0 Β· 5 versions
, in centos-stream 10

πŸ’… 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 -v and --version show version information; all exit afterward. short king behavior, in and out, no loitering πŸšͺπŸ’¨
  • -c common-words-file β€” read the list of common words from common-words-file instead of /usr/share/groff/1.23.0/eign.
  • -d dir β€” use dir as the name of the directory to store in the index, instead of that returned by getcwd(2). typically, dir will be a symbolic link whose target is the current working directory. main character directory energy πŸŽ€
  • -f list-file β€” read the files to be indexed from list-file. if list-file is -, files will be read from the standard input stream. the -f option can be given at most once β€” do not test her, she said once πŸ™ˆ
  • -h min-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 cause indxbib to use more memory. the default hash table size is 997. prime numbers, we stan a mathematically slay choice πŸ”₯
  • -i excluded-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, indxbib excludes fields X, Y, and Z. leave those three on read ✌️
  • -k max-keys-per-record β€” use no more keys per input record than specified in the argument. if this option is not present, the maximum is 100.
  • -l min-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 is 3. tiny keys get ghosted πŸ‘»
  • -n threshold β€” discard the threshold most common words from the common words file. if this option is not present, the 100 most common words are discarded. bye bye "the", "and", and the whole entourage πŸ’€
  • -o basename β€” name the index basename.i. you get to pick the name, slay πŸ¦‹
  • -t max-key-length β€” truncate keys to max-key-length in characters. if this option is not present, keys are truncated to 6 characters. snip snip βœ‚οΈ
  • -w β€” index whole files. each file is a separate record. no field-splitting, just vibes 🫢

🧚 FILES 🧚

  • file.i β€” index for file
  • Ind.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
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms