Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   indxbib    ( 1 )

сделать инвертированный индекс для библиографических баз данных (make inverted index for bibliographic databases)

Имя (Name)

indxbib - make inverted index for bibliographic databases


Синопсис (Synopsis)

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

indxbib --help

indxbib -v indxbib --version


Описание (Description)

indxbib makes an inverted index for the bibliographic databases in each file for use with refer(1), lookbib(1), and lkbib(1). Each created index is named file.i; writing is done to a temporary file which is then renamed to this. 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.

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.

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 index.


Параметры (Options)

--help displays a usage message, while -v and --version show
       version information; all exit afterward.

-c common-words-file Read the list of common words from file instead of /usr/ local/share/groff/1.23.0/eign.

-d dir 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).

-f list-file 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.

-i string Don't index the contents of fields whose names are in string. Field names are one character each. Initially, string is XYZ.

-h n 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.

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

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

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

-o basename The index should be named basename.i.

-t n Truncate keys to n. Initially, n is 6.

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


Файлы (Files)

file.i Index.

Ind.i Default index name.

/usr/local/share/groff/1.23.0/eign List of common words. The traditional name, 'eign', is an abbreviation of 'English ignored [word list]'.

indxbibXXXXXX Temporary file.


Смотри также (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.

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