1 .\"O .TH DBZ 1 "11 Feb 1992"
2 .TH DBZ 1 "11 Feb 1992"
5 .\"Japanese Version Copyright (c) 2004 Hiroki Ohtsuji
6 .\" all rights reserved.
7 .\" Translated Fri, 24 Dec 2004
11 .\"O dbz \- operate on dbz databases of text
32 .\"O ] database file ...
53 .\"O is a shell-level interface to the
55 .\"O database routines for indexed access to a text file.
59 テキストファイルへインデックスされたアクセスを行う
65 .\"O file must be a text file,
66 .\"O one line per database record,
67 .\"O with the key the first field on the line.
70 ファイルはテキストファイルでなければならず、
71 データベースの1レコードにつき1行でかつ、最初のフィールドにキーがなければ
75 .\"O option sets the field-separator character; the default is tab.
76 .\"O Setting the separator character to NUL (with
78 .\"O makes the whole line the key.
79 .\"O Lines must not exceed 1023 bytes in length including the newline;
80 .\"O this limit can be increased with the
84 オプションはフィールドセパレータの文字をセットする(これは、デフォルトで
86 フィールドセパレータの文字をヌルにする(with
89 新しい行を含む長さは1023バイトを超えてはならない。
92 オプションにより変更(増加)させることができる。
93 .\"O The limitations and restrictions of
95 .\"O must also be observed;
96 .\"O in particular, it remains the user's responsibility to ensure that
97 .\"O no attempt is made to store two entries (whether identical or not)
98 .\"O with the same key.
102 2つのエントリ(同様またはそれと異なる)が同じキーにより作成されない事が確実で
105 .\"O In the absence of options,
109 .\"O index for the database;
110 .\"O the index comprises files
111 .\"O .IB database .pag
113 .\"O .IB database .dir
114 .\"O in the same directory.
115 .\"O Any previous index is silently overwritten.
122 .\"O options specify other operations.
134 いずれの以前のインデックも、警告無しに上書きされる。
145 .\"O appends lines from the
147 .\"O (standard input if none)
148 .\"O to the database, updating both the
149 .\"O text file and the indexes.
155 テキストファイルとインデックスの両方を更新する。
160 .\"O reads keys from the
162 .\"O (standard input if none)
163 .\"O and prints (on standard output) the corresponding lines, if any,
164 .\"O from the database.
165 .\"O The input is in the form of database lines, although only the keys are
171 .\"O print the input lines whose keys are found instead of the database
172 .\"O lines; this is somewhat faster.
179 からキーを読み取り、標準出力へ相当する行を出力する(データベースにデータ
181 キーだけが重要であるが、入力はデータベース行の形式である。
185 オプションに、データベースの代わりに見つかったキーの入力行を出力させる。
189 .\"O operation is the same as for
191 .\"O except that the keys which are \fInot\fR present in the database
195 の指示はデータベースの中にないキーを印刷する以外は、
202 .\"O checks the database for internal consistency.
205 .\"O option causes this check to be done more quickly but less thoroughly
206 .\"O (each key is looked up in the index, but no check is made to be sure
207 .\"O that the index entry points to the right place).
210 オプションは、データーベースの内部整合性検査を行う。
212 オプションは、この検査の実行を高速にするが、綿密ではなくなる(各キーはイ
214 から調べられるが、インデックスエントリポイントが正しい場所にあるかを確か
219 .\"O option suppresses the use of
223 .\"O This makes accesses slower, but keeps the files current
226 .\"O startup/shutdown overhead.
232 この機能はアクセスを低速にするが、カレントファイルを更新中も保持し、
237 .\"O checks whether a key is already in the database before adding it.
240 .\"O option suppresses this check, speeding things up at the expense of
245 はキーを追加する前に、それがデータベースの中にあるかどうかを確認する。
247 オプションはこのチェックをやめさせ、安全性を犠牲にして高速にする。
249 .\"O A new index is normally created with default size,
250 .\"O case mapping, and tagging.
251 .\"O The default size is right for 90-100,000 records.
252 .\"O The default case mapping is right for RFC822 message-ids.
255 .\"O for what tagging is about.
256 .\"O (Note, these defaults can be changed when
260 新しいインデックスは通常デフォルトのサイズで作成され、
262 デフォルトのサイズは90から1000,000レコードの間では適切である。
263 デフォルトの大小文字のマッピングはRFC822 message-idsに準じている。
269 をインストールするときに変更することができる。
273 .\"O option is given,
274 .\"O size, case mapping, and tagging
275 .\"O are instead initialized based on the
278 .\"O This is mostly useful when
279 .\"O creating a new generation of an existing database.
280 .\"O (See the description of
288 サイズ、ケースマッピング、およびタグ付けは代わりに
291 これは、存在しているデータベースの新しい世代のものを作成するときに
300 .\"O option is given, the
302 .\"O string specifies the size, case mapping, and tagging.
307 文字列はサイズ、ケースマッピング、およびタグ付けを明示する。
310 .\"O is a single decimal number,
311 .\"O that is taken as the expected number of records
312 .\"O in the index, with case mapping and tagging defaulted.
315 それはケースマッピングとタグ付けを破棄し、
316 予期されるインデックス中のレコードとして扱われる。
319 .\"O can be three fields\(ema decimal number, a case-mapping code
321 .\"O hexadecimal tag mask\(emseparated by white space.
322 .\"O The decimal number is, again, the expected number of records;
323 .\"O 0 means ``use the default''.
326 は整数、ケースマッピングコード文字、16進数のタグマスクの3つにスペース
328 整数はさらにまた、予期されるレコードで、0はデフォルトを使用することを意
332 .\"O for possible choices of case-mapping code,
333 .\"O but in particular,
335 .\"O means ``no case mapping''.
336 ケースマッピングコードとしてふさわしい選択のためには
338 を見よ。しかし特に、0はケースマッピングをしないことを示す。
341 .\"O for details on tag masks;
342 .\"O 0 means ``use the default''.
350 .\"O option is given, the decimal number in
352 .\"O is taken to be the exact table size, not the expected number of
354 .\"O and invocation of
358 .\"O to predict a good size for that number of records is suppressed.
361 の整数は、正確にはテーブルのサイズとして用い、予期されるレコードの数、
366 抑制されたた良いレコードの数を予測するために使われない。
370 .\"O file is normally about 6 bytes per record (based on the estimate
373 .\"O or the previous history of the
377 ファイルは通常、1レコードにつき大体6バイトである(
381 オプションで与えられたデータベースの以前の履歴に基づく)。
392 .\"O Written at U of Toronto by Henry Spencer, for the C News project.
395 .\"O for the history of the underlying database routines.
397 C Newsプロジェクトのために、トロント大学のHenry Spencerによって書かれた。
398 データベースルーチンの履歴の基礎については、
402 .\"O There are a number of undocumented options with obscure effects,
403 .\"O meant for debugging and regression testing of
407 のデバッグや回帰テストのための、文章化されておらず
410 .\"O Permissions for the index files probably ought to be taken from those
411 .\"O of the base file.
413 インデックスファイルのパーミッションは、たいていベースファイルから
416 .\"O The line-length limit is a blemish, alleviated only slightly by