BSD 4_4_Lite2 development
[unix-history] / usr / share / man / cat1 / indxbib.0
INDXBIB(1) BSD Reference Manual INDXBIB(1)
N\bNA\bAM\bME\bE
indxbib - make inverted index for bibliographic databases
S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
i\bin\bnd\bdx\bxb\bbi\bib\bb [ -\b-v\bvw\bw ] [ -\b-c\bc_\bf_\bi_\bl_\be ] [ -\b-d\bd_\bd_\bi_\br ] [ -\b-f\bf_\bf_\bi_\bl_\be ] [ -\b-h\bh_\bn ]
[ -\b-i\bi_\bs_\bt_\br_\bi_\bn_\bg ] [ -\b-k\bk_\bn ] [ -\b-l\bl_\bn ] [ -\b-n\bn_\bn ] [ -\b-o\bo_\bf_\bi_\bl_\be ]
[ -\b-t\bt_\bn ] [ _\bf_\bi_\bl_\be_\bn_\ba_\bm_\be... ]
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
i\bin\bnd\bdx\bxb\bbi\bib\bb makes an inverted index for the bibliographic
databases in _\bf_\bi_\bl_\be_\bn_\ba_\bm_\be... for use with r\bre\bef\bfe\ber\br(1), l\blo\boo\bok\bk-\b-
b\bbi\bib\bb(1), and l\blk\bkb\bbi\bib\bb(1). The index will be named _\bf_\bi_\bl_\be_\bn_\ba_\bm_\be.\b.i\bi;
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 -\b-f\bf option has been used, and no -\b-o\bo option
is given, the index will be named I\bIn\bnd\bd.\b.i\bi.
Bibliographic databases are divided into records by blank
lines. Within a record, each fields starts with a %\b% char-
acter at the beginning of a line. Fields have a one let-
ter name which follows the %\b% character.
The values set by the -\b-c\bc, -\b-n\bn, -\b-l\bl and -\b-t\bt 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 -\b-i\bi option is also stored in the index and
will be used in verifying records found using the index.
O\bOP\bPT\bTI\bIO\bON\bNS\bS
-\b-v\bv Print the version number.
-\b-w\bw Index whole files. Each file is a separate record.
-\b-c\bc_\bf_\bi_\bl_\be Read the list of common words from _\bf_\bi_\bl_\be instead of
/\b/u\bus\bsr\br/\b/s\bsh\bha\bar\bre\be/\b/m\bmi\bis\bsc\bc/\b/e\bei\big\bgn\bn.
-\b-d\bd_\bd_\bi_\br Use _\bd_\bi_\br as the pathname of the current working
directory to store in the index, instead of the
path printed by p\bpw\bwd\bd(1). Usually _\bd_\bi_\br will be a sym-
bolic link that points to the directory printed by
p\bpw\bwd\bd(1).
-\b-f\bf_\bf_\bi_\bl_\be Read the files to be indexed from _\bf_\bi_\bl_\be. If _\bf_\bi_\bl_\be is
Groff Version 1.08 16 April 1993 1
INDXBIB(1) BSD Reference Manual INDXBIB(1)
-\b-, files will be read from the standard input. The
-\b-f\bf option can be given at most once.
-\b-i\bi_\bs_\bt_\br_\bi_\bn_\bg
Don't index the contents of fields whose names are
in _\bs_\bt_\br_\bi_\bn_\bg. Initially _\bs_\bt_\br_\bi_\bn_\bg is X\bXY\bYZ\bZ.
-\b-h\bh_\bn Use the first prime greater than or equal to _\bn for
the size of the hash table. Larger values of _\bn
will usually make searching faster, but will make
the index larger and i\bin\bnd\bdx\bxb\bbi\bib\bb use more memory. Ini-
tially _\bn is 997.
-\b-k\bk_\bn Use at most _\bn keys per input record. Initially _\bn
is 100.
-\b-l\bl_\bn Discard keys that are shorter than _\bn. Initially _\bn
is 3.
-\b-n\bn_\bn Discard the _\bn most common words. Initially _\bn is
100.
-\b-o\bo_\bb_\ba_\bs_\be_\bn_\ba_\bm_\be
The index should be named _\bb_\ba_\bs_\be_\bn_\ba_\bm_\be.\b.i\bi.
-\b-t\bt_\bn Truncate keys to _\bn. Initially _\bn is 6.
F\bFI\bIL\bLE\bES\bS
_\bf_\bi_\bl_\be_\bn_\ba_\bm_\be.\b.i\bi Index.
I\bIn\bnd\bd.\b.i\bi Default index name.
/\b/u\bus\bsr\br/\b/s\bsh\bha\bar\bre\be/\b/m\bmi\bis\bsc\bc/\b/e\bei\big\bgn\bn
List of common words.
i\bin\bnd\bdx\bxb\bbi\bib\bb_\bX_\bX_\bX_\bX_\bX_\bX Temporary file.
S\bSE\bEE\bE A\bAL\bLS\bSO\bO
r\bre\bef\bfe\ber\br(1), l\blk\bkb\bbi\bib\bb(1), l\blo\boo\bok\bkb\bbi\bib\bb(1)
Groff Version 1.08 16 April 1993 2