groff: update vendor branch to v1.20.1
[dragonfly.git] / contrib / groff / src / utils / lkbib / lkbib.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
JR
22.\" Like TP, but if specified indent is more than half
23.\" the current line-length - indent, use the default indent.
24.de Tp
465b256c
JR
25. ie \\n(.$=0:((0\\$1)*2u>(\\n(.lu-\\n(.iu)) .TP
26. el .TP "\\$1"
92d0a6a6 27..
465b256c
JR
28.
29.
92d0a6a6 30.TH LKBIB @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
465b256c
JR
31.
32.
92d0a6a6
JR
33.SH NAME
34lkbib \- search bibliographic databases
465b256c
JR
35.
36.
92d0a6a6
JR
37.SH SYNOPSIS
38.B lkbib
39[
40.B \-v
41]
42[
43.BI \-i fields
44]
45[
46.BI \-p filename
47]
48[
49.BI \-t n
50]
51.IR key \|.\|.\|.
465b256c 52.
92d0a6a6
JR
53.PP
54It is possible to have whitespace between a command line option and its
55parameter.
465b256c
JR
56.
57.
92d0a6a6
JR
58.SH DESCRIPTION
59.B lkbib
60searches bibliographic databases for references that contain the keys
465b256c 61.IR key \|.\|.\|.\&
92d0a6a6
JR
62and prints any references found on the standard output.
63.B lkbib
64will search any databases given by
65.B \-p
66options, and then a default database.
67The default database is taken from the
68.SB REFER
69environment variable if it is set,
70otherwise it is
71.BR @DEFAULT_INDEX@ .
72For each database
73.I filename
74to be searched,
75if an index
76.IB filename @INDEX_SUFFIX@
77created by
78.BR @g@indxbib (@MAN1EXT@)
79exists, then it will be searched instead;
80each index can cover multiple databases.
465b256c
JR
81.
82.
92d0a6a6
JR
83.SH OPTIONS
84.TP
85.B \-v
86Print the version number.
465b256c 87.
92d0a6a6
JR
88.TP
89.BI \-p filename
90Search
91.IR filename .
92Multiple
93.B \-p
94options can be used.
465b256c 95.
92d0a6a6
JR
96.TP
97.BI \-i string
98When searching files for which no index exists,
99ignore the contents of fields whose names are in
100.IR string .
465b256c 101.
92d0a6a6
JR
102.TP
103.BI \-t n
104Only require the first
105.I n
106characters of keys to be given.
107Initially
108.I n
465b256c
JR
109is\~6.
110.
111.
92d0a6a6
JR
112.SH ENVIRONMENT
113.TP \w'\fBREFER'u+2n
114.SB REFER
115Default database.
465b256c
JR
116.
117.
92d0a6a6
JR
118.SH FILES
119.Tp \w'\fB@DEFAULT_INDEX@'u+2n
120.B @DEFAULT_INDEX@
121Default database to be used if the
122.SB REFER
123environment variable is not set.
465b256c
JR
124.
125.TP
92d0a6a6
JR
126.IB filename @INDEX_SUFFIX@
127Index files.
465b256c
JR
128.
129.
92d0a6a6
JR
130.SH "SEE ALSO"
131.BR @g@refer (@MAN1EXT@),
132.BR @g@lookbib (@MAN1EXT@),
133.BR @g@indxbib (@MAN1EXT@)
134.
135.\" Local Variables:
136.\" mode: nroff
137.\" End: