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