Debian Codegraph @

upstream/debian-trixie/man1/lookbib.1

raw
1 .TH \%lookbib 1 "3 June 2025" "groff 1.23.0"
2 .SH Name
3 \%lookbib \- search bibliographic databases
4 .
5 .
6 .\" ====================================================================
7 .\" Legal Terms
8 .\" ====================================================================
9 .\"
10 .\" Copyright (C) 1989-2020 Free Software Foundation, Inc.
11 .\"
12 .\" Permission is granted to make and distribute verbatim copies of this
13 .\" manual provided the copyright notice and this permission notice are
14 .\" preserved on all copies.
15 .\"
16 .\" Permission is granted to copy and distribute modified versions of
17 .\" this manual under the conditions for verbatim copying, provided that
18 .\" the entire resulting derived work is distributed under the terms of
19 .\" a permission notice identical to this one.
20 .\"
21 .\" Permission is granted to copy and distribute translations of this
22 .\" manual into another language, under the above conditions for
23 .\" modified versions, except that this permission notice may be
24 .\" included in translations approved by the Free Software Foundation
25 .\" instead of in the original English.
26 .
27 .
28 .\" Save and disable compatibility mode (for, e.g., Solaris 10/11).
29 .do nr *groff_lookbib_1_man_C \n[.cp]
30 .cp 0
31 .
32 .\" Define fallback for groff 1.23's MR macro if the system lacks it.
33 .nr do-fallback 0
34 .if !\n(.f .nr do-fallback 1 \" mandoc
35 .if \n(.g .if !d MR .nr do-fallback 1 \" older groff
36 .if !\n(.g .nr do-fallback 1 \" non-groff *roff
37 .if \n[do-fallback] \{\
38 . de MR
39 . ie \\n(.$=1 \
40 . I \%\\$1
41 . el \
42 . IR \%\\$1 (\\$2)\\$3
43 . .
44 .\}
45 .rr do-fallback
46 .
47 .
48 .\" ====================================================================
49 .SH Synopsis
50 .\" ====================================================================
51 .
52 .SY \%lookbib
53 .RB [ \-i\~\c
54 .IR string ]
55 .RB [ \-t\~\c
56 .IR n ]
57 .I file
58 \&.\|.\|.\&
59 .YS
60 .
61 .
62 .SY \%lookbib
63 .B \-\-help
64 .YS
65 .
66 .
67 .SY \%lookbib
68 .B \-v
69 .
70 .SY \%lookbib
71 .B \-\-version
72 .YS
73 .
74 .
75 .\" ====================================================================
76 .SH Description
77 .\" ====================================================================
78 .
79 .I \%lookbib
80 writes a prompt to the standard error stream
81 (unless the standard input stream is not
82 a terminal),
83 reads from the standard input a line containing a set of keywords,
84 searches each bibliographic database
85 .I file
86 for references containing those keywords,
87 writes any references found to the standard output stream,
88 and repeats this process until the end of input.
89 .
90 For each database
91 .I file
92 to be searched,
93 if an index
94 .RI file \%.i
95 created by
96 .MR \%indxbib 1
97 exists,
98 then it will be searched instead;
99 each index can cover multiple databases.
100 .
101 .
102 .\" ====================================================================
103 .SH Options
104 .\" ====================================================================
105 .
106 .B \-\-help
107 displays a usage message,
108 while
109 .B \-v
110 and
111 .B \-\-version
112 show version information;
113 all exit afterward.
114 .
115 .
116 .TP
117 .BI \-i\~ string
118 When searching files for which no index exists,
119 ignore the contents of fields whose names are in
120 .IR string .
121 .
122 .
123 .TP
124 .BI \-t\~ n
125 Require only the first
126 .I n
127 characters of keys to be given.
128 .
129 The default
130 is\~6.
131 .
132 .
133 .\" ====================================================================
134 .SH Files
135 .\" ====================================================================
136 .
137 .TP
138 .RI file \%.i
139 Index files.
140 .
141 .
142 .\" ====================================================================
143 .SH "See also"
144 .\" ====================================================================
145 .
146 \[lq]Some Applications of Inverted Indexes on the Unix System\[rq],
147 by M.\& E.\& Lesk,
148 1978,
149 AT&T Bell Laboratories Computing Science Technical Report No.\& 69.
150 .
151 .
152 .LP
153 .MR \%refer 1 ,
154 .MR lkbib 1 ,
155 .MR \%indxbib 1
156 .
157 .
158 .\" Restore compatibility mode (for, e.g., Solaris 10/11).
159 .cp \n[*groff_lookbib_1_man_C]
160 .do rr *groff_lookbib_1_man_C
161 .
162 .\" Local Variables:
163 .\" fill-column: 72
164 .\" mode: nroff
165 .\" End:
166 .\" vim: set filetype=groff textwidth=72: