{
    "mode": "man",
    "parameter": "INDXBIB",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/man/INDXBIB/json",
    "generated": "2026-11-23T20:10:40Z",
    "sections": {
        "Name": {
            "content": "indxbib - make inverted index for bibliographic databases\n",
            "subsections": []
        },
        "Synopsis": {
            "content": "indxbib [-w] [-c common-words-file] [-d dir] [-f list-file] [-h min-hash-table-size]\n[-i excluded-fields] [-k max-keys-per-record] [-l min-key-length] [-n threshold]\n[-o file] [-t max-key-length] [file ...]\n",
            "subsections": [
                {
                    "name": "indxbib --help",
                    "content": ""
                },
                {
                    "name": "indxbib -v",
                    "content": ""
                },
                {
                    "name": "indxbib --version",
                    "content": ""
                }
            ]
        },
        "Description": {
            "content": "indxbib  makes  an  inverted  index for the bibliographic databases in each file for use with\nrefer(1), lookbib(1), and lkbib(1).  Each created index is named file.i; writing is done to a\ntemporary file which is then renamed to this.  If no file operands are given on  the  command\nline  because the -f option has been used, and no -o option is given, the index will be named\nInd.i.\n\nBibliographic databases are divided into records by blank lines.  Within a record, each field\nstarts with a % character at the beginning of a line.  Fields have a  one  letter  name  that\nfollows the % character.\n\nThe  values  set by the -c, -l, -n, and -t options are stored in the index: when the index is\nsearched, keys will be discarded and truncated in a manner appropriate to these options;  the\noriginal  keys will be used for verifying that any record found using the index actually con‐\ntains the keys.  This means that a user of an index need not know whether these options  were\nused  in  the  creation of the index, provided that not all the keys to be searched for would\nhave been discarded during indexing and that the user supplies at least the part of each  key\nthat  would have remained after being truncated during indexing.  The value set by the -i op‐\ntion is also stored in the index and will be used in verifying records found using the index.\n",
            "subsections": []
        },
        "Options": {
            "content": "--help displays a usage message, while -v and --version show version  information;  all  exit\nafterward.\n",
            "subsections": [
                {
                    "name": "-c",
                    "content": "Read  the  list  of  common  words from common-words-file instead of /usr/share/groff/\n1.23.0/eign.\n",
                    "flag": "-c"
                },
                {
                    "name": "-d",
                    "content": "by  getcwd(2).   Typically,  dir  will  be a symbolic link whose target is the current\nworking directory.\n",
                    "flag": "-d"
                },
                {
                    "name": "-f",
                    "content": "Read the files to be indexed from list-file.  If list-file is -, files  will  be  read\nfrom the standard input stream.  The -f option can be given at most once.\n",
                    "flag": "-f"
                },
                {
                    "name": "-h",
                    "content": "Use  the  first prime number greater than or equal to the argument for the size of the\nhash table.  Larger values will usually make searching faster, but will make the index\nfile larger and cause indxbib to use more memory.  The default hash table size is 997.\n",
                    "flag": "-h"
                },
                {
                    "name": "-i",
                    "content": "Don't index the contents of fields whose names are in  excluded-fields.   Field  names\nare  one character each.  If this option is not present, indxbib excludes fields X, Y,\nand Z.\n",
                    "flag": "-i"
                },
                {
                    "name": "-k",
                    "content": "Use no more keys per input record than specified in the argument.  If this  option  is\nnot present, the maximum is 100.\n",
                    "flag": "-k"
                },
                {
                    "name": "-l",
                    "content": "Discard  any key whose length in characters is shorter than the value of the argument.\nIf this option is not present, the minimum key length is 3.\n",
                    "flag": "-l"
                },
                {
                    "name": "-n",
                    "content": "Discard the threshold most common words from the common words file.  If this option is\nnot present, the 100 most common words are discarded.\n",
                    "flag": "-n"
                },
                {
                    "name": "-o",
                    "content": "Name the index basename.i.\n",
                    "flag": "-o"
                },
                {
                    "name": "-t",
                    "content": "Truncate keys to max-key-length in characters.  If this option is  not  present,  keys\nare truncated to 6 characters.\n",
                    "flag": "-t"
                },
                {
                    "name": "-w",
                    "content": "",
                    "flag": "-w"
                }
            ]
        },
        "Files": {
            "content": "file.i index for file\n\nInd.i  default index name\n\n/usr/share/groff/1.23.0/eign\ncontains  the  list of common words.  The traditional name, “eign”, is an abbreviation\nof “English ignored [word list]”.\n\nindxbibXXXXXX\ntemporary file\n\nSee also\n“Some Applications of Inverted Indexes on the Unix System”, by M. E. Lesk,  1978,  AT&T  Bell\nLaboratories Computing Science Technical Report No. 69.\n\nrefer(1), lkbib(1), lookbib(1)\n\ngroff 1.23.0                                31 March 2024                                 indxbib(1)",
            "subsections": []
        }
    },
    "flags": [],
    "examples": [],
    "see_also": []
}