usage: indxbib [-vw] [-c file] [-d dir] [-f file] [-h n] [-i XYZ] [-k n] [-l n] [-n n] [-o base] [-t n] [files...]
usage: indxbib [-vw] [-c file] [-d dir] [-f file] [-h n] [-i XYZ] [-k n] [-l n] [-n n] [-o base] [-t n] [files...]
INDXBIB(1) INDXBIB(1) 名称 indxbib - 文献目録データベース用の逆引きインデックスの作成 書式 indxbib [ -vw ] [ -cfile ] [ -ddir ] [ -ffile ] [ -hn ] [ -istring ] [ -kn ] [ -ln ] [ -nn ] [ -ofile ] [ -tn ] [ filename... ] コマンドラインオプションとパラメータの間に、空白を置くことが可能です。 解説 indxbib は、 filename... で指定される文献目録データベースの逆引きイ ン デ ッ ク スを作成します。逆引きインデックスは refer(1) 、 lookbib(1) 、 lkbib(1) で利用されます。このインデックスのファイル名は filename.i とな ります(インデックスはいったんテンポラリファイルに書き込まれ、この名前に リネームされます)。 -f オプションを使い、また -o オプションの指定もファ イル名の指定もしなかった場合には、インデックスファイルは Ind.i という名 前となります。 文献目録データベースは、空行によってレコードに分けられています。レコ ー ド内では、各フィールドは、行頭にある % の文字で始まります。フィールドは 、 % に続いた一文字の名前を持ちます。 -c 、 -n 、 -l 、および -t のオプションによって指定された値は、インデッ ク スの中に格納されます。インデックスを検索する時には、ユーザが指定する 検索キーは、これらのオプションに従って、捨てられたり切りつめられてし ま い ます。しかし、インデックスを検索して見付かったレコードが、実際にユー ザが指定した検索キーを含んでいる、ということを確かめる場合には、検索 キ ー にはそのような修正は行われません。これは、ユーザが指定した検索キーの うち少なくとも1つが (-l オプション等によって捨てられることなく) イン デ ッ クスに登録されており、かつ検索キーのうちの少なくとも(-t オプションに よって)切りつめられた部分をインデックスのユーザが指定できるならば、これ ら のオプションがインデックス作成時に使われたかどうか、ユーザは気にする 必要がない、ということを意味します。 -i オプションによって指定された 値 も インデックス内に保存され、インデックスを使った検索に適合するレコード がキーに適合するか否かを検証する時に使用します。 オプション -v バージョン番号を表示します。 -w ファイル全体に対してインデックスを作成します。各々のファイルが、 別々のレコードとなります。 -cfile /usr/share/dict/eign の代わりに、 file から共通語の一覧を読み込 みます。 -ddir インデックスに格納する現在の作業ディレクトリのパスとして pwd(1) で 表示されるパスの代わりに dir を使います。通常、 dir は BR pwd (1) で表示されるディレクトリを差すシンボリックリンクとします。 -ffile インデックスを作るファイルを file から読み込みます。 file が - の場合には、ファイルは標準入力から読み込まれます。 -f オプション は1つまでしか使用できません。 -istring フィールド名が string に含まれているフィールドの内容についてのイ ンデックスは作成しません。 string の初期値は XYZ です。 -hn ハッシュテーブルのサイズとして n 以上の素数を用います。 n を大き くすると検索は速くなりますが、インデックスは大きくな り 、 ま た indxbib はより多くのメモリを消費するようになります。 n の初期値 は997です。 -kn 入力レコードに対する検索キーの数を、最大で n 個にします。 n の初 期値は100です。 -ln n 文字未満の検索キーを捨てます。 n の初期値は3です。 -nn n 個の共通語を、ありふれたものから順に捨てます。 n の初期値は100 です。 -obasename インデックスの名前を basename.i とします。 -tn 検索キーを n 文字で切り捨てます。 n の初期値は6です。 関連ファイル filename.i インデックスです。 Ind.i デフォルトのインデックス名です。 /usr/share/dict/eign 共通語の一覧です。 indxbibXXXXXX テンポラリファイルです。 関連項目 refer(1), lkbib(1), lookbib(1) Groff Version 1.17.2 6 August 2001 INDXBIB(1)
INDXBIB(1) INDXBIB(1) NAME indxbib - make inverted index for bibliographic databases SYNOPSIS indxbib [ -vw ] [ -cfile ] [ -ddir ] [ -ffile ] [ -hn ] [ -istring ] [ -kn ] [ -ln ] [ -nn ] [ -ofile ] [ -tn ] [ filename... ] It is possible to have whitespace between a command line option and its parameter. DESCRIPTION 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 % charac- ter. 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 con- tains 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 dur- ing 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 -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/share/groff/1.18.1.4/eign. -ddir Use dir as the pathname of the current working directory to store in the index, instead of the path printed by pwd(1). Usu- ally 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. -istring 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 mem- ory. 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. -obasename The index should be named basename.i. -tn Truncate keys to n. Initially n is 6. FILES filename.i Index. Ind.i Default index name. /usr/share/groff/1.18.1.4/eign List of common words. indxbibXXXXXX Temporary file. SEE ALSO refer(1), lkbib(1), lookbib(1) Groff Version 1.18.1.4 27 June 2001 INDXBIB(1)
Copyright(C) linux-cmd.com All Rights Reserved. Author Takayuki Yukawa