indxbib(1) — Linux manual page

Name | Synopsis | Description | Options | Files | See Also | COLOPHON

indxbib(1)                 General Commands Manual                indxbib(1)

Name         top

       indxbib - make inverted index for bibliographic databases

Synopsis         top

       indxbib [-w] [-c file] [-d dir] [-f file] [-h n] [-i string] [-k n]
               [-l n] [-n n] [-o file] [-t n] [filename ...]

       indxbib --help

       indxbib -v
       indxbib --version

Description         top

       indxbib makes an inverted index for the bibliographic databases in
       filename...  for use with refer(1), lookbib(1), and lkbib(1).  The
       index will be named filename.i; the index is written to a temporary
       file which is then renamed to this.  If no filenames 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.

       Bibliographic databases are divided into records by blank lines.
       Within a record, each fields starts with a % character at the
       beginning of a line.  Fields have a one letter name which follows the
       % character.

       The values set by the -c, -n, -l, and -t options are stored in the
       index; 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 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.  The value set by the -i option is also stored in
       the index and will be used in verifying records found using the

Options         top

       Whitespace is permitted between a command-line option and its

       -v     Print the version number.

       -w     Index whole files.  Each file is a separate record.

       -cfile Read the list of common words from file instead of /usr/local/

       -ddir  Use dir as the pathname of the current working directory to
              store in the index, instead of the path printed by pwd(1).
              Usually dir will be a symbolic link that points to the
              directory printed by pwd(1).

       -ffile Read the files to be indexed from file.  If file is -, files
              will be read from the standard input.  The -f option can be
              given at most once.

              Don't index the contents of fields whose names are in string.
              Initially string is XYZ.

       -hn    Use the first prime greater than or equal to n for the size of
              the hash table.  Larger values of n will usually make
              searching faster, but will make the index larger and indxbib
              use more memory.  Initially n is 997.

       -kn    Use at most n keys per input record.  Initially n is 100.

       -ln    Discard keys that are shorter than n.  Initially n is 3.

       -nn    Discard the n most common words.  Initially n is 100.

              The index should be named basename.i.

       -tn    Truncate keys to n.  Initially n is 6.

Files         top


       Ind.i  Default index name.

              List of common words.

              Temporary file.

See Also         top

       “Some Applications of Inverted Indexes on the UNIX System”,
              M. E. Lesk, Bell Laboratories, 1979.  A gratis version of this
              document from volume 2A of the Unix Programmer's Manual, 7th
              edition, describes an early implementation of refer and is
              available at the website of the late W. Richard Stevens 

       refer(1), lkbib(1), lookbib(1)

COLOPHON         top

       This page is part of the groff (GNU troff) project.  Information
       about the project can be found at 
       ⟨⟩.  If you have a bug report for
       this manual page, see ⟨⟩.  This
       page was obtained from the project's upstream Git repository
       ⟨⟩ on 2020-07-14.  (At that
       time, the date of the most recent commit that was found in the repos‐
       itory was 2020-07-12.)  If you discover any rendering problems in
       this HTML version of the page, or you believe there is a better or
       more up-to-date source for the page, or you have corrections or
       improvements to the information in this COLOPHON (which is not part
       of the original manual page), send a mail to

groff            16 May 2020                      indxbib(1)

Pages that refer to this page: groff(1)lkbib(1)lookbib(1)refer(1)