groff: remove version tag from directory
[dragonfly.git] / contrib / groff / src / utils / lookbib / lookbib.man
1 .ig
2 Copyright (C) 1989-2000, 2001, 2004 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 .
20 .
21 .TH @G@LOOKBIB @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
22 .
23 .
24 .SH NAME
25 @g@lookbib \- search bibliographic databases
26 .
27 .
28 .SH SYNOPSIS
29 .B @g@lookbib
30 [
31 .B \-v
32 ]
33 [
34 .BI \-i string
35 ]
36 [
37 .BI \-t n
38 ]
39 .IR filename \|.\|.\|.
40 .
41 .PP
42 It is possible to have whitespace between a command line option and its
43 parameter.
44 .
45 .
46 .SH DESCRIPTION
47 .B @g@lookbib
48 prints a prompt on the standard error (unless the standard input is not
49 a terminal),
50 reads from the standard input a line containing a set of keywords,
51 searches the bibliographic databases
52 .IR filename \|.\|.\|.\&
53 for references containing those keywords,
54 prints any references found on the standard output,
55 and repeats this process until the end of input.
56 For each database
57 .I filename
58 to be searched,
59 if an index
60 .IB filename @INDEX_SUFFIX@
61 created by
62 .BR @g@indxbib (@MAN1EXT@)
63 exists, then it will be searched instead;
64 each index can cover multiple databases.
65 .
66 .
67 .SH OPTIONS
68 .TP
69 .B \-v
70 Print the version number.
71 .
72 .TP
73 .BI \-i string
74 When searching files for which no index exists,
75 ignore the contents of fields whose names are in
76 .IR string .
77 .
78 .TP
79 .BI \-t n
80 Only require the first
81 .I n
82 characters of keys to be given.
83 Initially
84 .I n
85 is\~6.
86 .
87 .
88 .SH FILES
89 .TP \w'\fIfilename\fB@INDEX_SUFFIX@'u+2n
90 .IB filename @INDEX_SUFFIX@
91 Index files.
92 .
93 .
94 .SH "SEE ALSO"
95 .BR @g@refer (@MAN1EXT@),
96 .BR lkbib (@MAN1EXT@),
97 .BR @g@indxbib (@MAN1EXT@)
98 .
99 .\" Local Variables:
100 .\" mode: nroff
101 .\" End: