Merge branch 'topic/sync-to-go-2'
[s-roff.git] / man / ute-lookbib.1.in
blob23e5a511c48596634a5b3f326d5a42df95b5460b
1 .ig
2 @ @L_LOOKBIB@.1
4 Copyright (c) 2014 - 2017 Steffen (Daode) Nurpmeso <steffen@sdaoden.eu>.
6 Copyright (C) 1989 - 2001, 2004 Free Software Foundation, Inc.
8 Permission is granted to make and distribute verbatim copies of
9 this manual provided the copyright notice and this permission notice
10 are preserved on all copies.
12 Permission is granted to copy and distribute modified versions of this
13 manual under the conditions for verbatim copying, provided that the
14 entire resulting derived work is distributed under the terms of a
15 permission notice identical to this one.
17 Permission is granted to copy and distribute translations of this
18 manual into another language, under the above conditions for modified
19 versions, except that this permission notice may be included in
20 translations approved by the Free Software Foundation instead of in
21 the original English.
24 .TH @U_LOOKBIB@ @MAN1EXT@ "@MDATE@" "@T_ROFF@ v@VERSION@"
27 .SH NAME
28 @L_LOOKBIB@ \- search bibliographic databases
31 .SH SYNOPSIS
32 .B @L_LOOKBIB@
34 .B \-v
37 .BI \-i string
40 .BI \-t n
42 .IR filename \|.\|.\|.
44 .PP
45 It is possible to have whitespace between a command line option and its
46 parameter.
49 .SH DESCRIPTION
50 .B @L_LOOKBIB@
51 prints a prompt on the standard error (unless the standard input is not
52 a terminal),
53 reads from the standard input a line containing a set of keywords,
54 searches the bibliographic databases
55 .IR filename \|.\|.\|.\&
56 for references containing those keywords,
57 prints any references found on the standard output,
58 and repeats this process until the end of input.
59 For each database
60 .I filename
61 to be searched,
62 if an index
63 .IB filename @INDEX_SUFFIX@
64 created by
65 .BR @L_INDXBIB@ (@MAN1EXT@)
66 exists, then it will be searched instead;
67 each index can cover multiple databases.
70 .SH OPTIONS
71 .TP
72 .B \-v
73 Print the version number.
75 .TP
76 .BI \-i string
77 When searching files for which no index exists,
78 ignore the contents of fields whose names are in
79 .IR string .
81 .TP
82 .BI \-t n
83 Only require the first
84 .I n
85 characters of keys to be given.
86 Initially
87 .I n
88 is\~6.
91 .SH FILES
92 .TP \w'\fIfilename\fB@INDEX_SUFFIX@'u+2n
93 .IB filename @INDEX_SUFFIX@
94 Index files.
97 .SH "SEE ALSO"
98 .BR @L_P_REFER@ (@MAN1EXT@),
99 .BR @L_LKBIB@ (@MAN1EXT@),
100 .BR @L_INDXBIB@ (@MAN1EXT@)
102 .\" s-ts-mode