Initial import from FreeBSD RELENG_4:
[dragonfly.git] / contrib / groff / src / utils / lookbib / lookbib.man
1 .ig
2 Copyright (C) 1989-2000, 2001 Free Software Foundation, Inc.
3
4 Permission is granted to make and distribute verbatim copies of
5 this manual provided the copyright notice and this permission notice
6 are preserved on all copies.
7
8 Permission is granted to copy and distribute modified versions of this
9 manual under the conditions for verbatim copying, provided that the
10 entire resulting derived work is distributed under the terms of a
11 permission notice identical to this one.
12
13 Permission is granted to copy and distribute translations of this
14 manual into another language, under the above conditions for modified
15 versions, except that this permission notice may be included in
16 translations approved by the Free Software Foundation instead of in
17 the original English.
18 ..
19 .TH @G@LOOKBIB @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
20 .SH NAME
21 @g@lookbib \- search bibliographic databases
22 .SH SYNOPSIS
23 .B @g@lookbib
24 [
25 .B \-v
26 ]
27 [
28 .BI \-i string
29 ]
30 [
31 .BI \-t n
32 ]
33 .IR filename \|.\|.\|.
34 .PP
35 It is possible to have whitespace between a command line option and its
36 parameter.
37 .SH DESCRIPTION
38 @g@lookbib prints a prompt on the standard error (unless the standard input is not a terminal),
39 reads from the standard input a line containing a set of keywords,
40 searches the bibliographic databases
41 .IR filename \|.\|.\|.
42 for references containing those keywords,
43 prints any references found on the standard output,
44 and repeats this process until the end of input.
45 For each database
46 .I filename
47 to be searched,
48 if an index
49 .IB filename @INDEX_SUFFIX@
50 created by
51 .BR @g@indxbib (@MAN1EXT@)
52 exists, then it will be searched instead;
53 each index can cover multiple databases.
54 .SH OPTIONS
55 .TP
56 .B \-v
57 Print the version number.
58 .TP
59 .BI \-i string
60 When searching files for which no index exists,
61 ignore the contents of fields whose names are in
62 .IR string .
63 .TP
64 .BI \-t n
65 Only require the first
66 .I n
67 characters of keys to be given.
68 Initially
69 .I n
70 is 6.
71 .SH FILES
72 .TP \w'\fIfilename\fB@INDEX_SUFFIX@'u+2n
73 .IB filename @INDEX_SUFFIX@
74 Index files.
75 .SH "SEE ALSO"
76 .BR @g@refer (@MAN1EXT@),
77 .BR lkbib (@MAN1EXT@),
78 .BR @g@indxbib (@MAN1EXT@)
79 .
80 .\" Local Variables:
81 .\" mode: nroff
82 .\" End: