xref: /illumos-gate/usr/src/man/man1/indxbib.1 (revision b7daf79982d77b491ef9662483cd4549e0e5da9a)
te
Copyright (c) 1992, Sun Microsystems, Inc.
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
INDXBIB 1 "Sep 14, 1992"
NAME
indxbib - create an inverted index to a bibliographic database
SYNOPSIS

indxbib database-file...
DESCRIPTION

indxbib makes an inverted index to the named database-file (which must reside within the current directory), typically for use by lookbib(1) and refer(1). A database contains bibliographic references (or other kinds of information) separated by blank lines.

A bibliographic reference is a set of lines, constituting fields of bibliographic information. Each field starts on a line beginning with a `%', followed by a key-letter, then a blank, and finally the contents of the field, which may continue until the next line starting with `%'.

indxbib is a shell script that calls two programs: /usr/lib/refer/mkey and /usr/lib/refer/inv. mkey truncates words to 6 characters, and maps upper case to lower case. It also discards words shorter than 3 characters, words among the 100 most common English words, and numbers (dates) < 1000 or > 2099. These parameters can be changed.

indxbib creates an entry file (with a .ia suffix), a posting file (.ib), and a tag file (.ic), in the working directory.

FILES
/usr/lib/refer/mkey

/usr/lib/refer/inv

x.ia

entry file

x.ib

posting file

x.ic

tag file

x.ig

reference file

SEE ALSO

addbib(1), lookbib(1), refer(1), roffbib(1), sortbib(1), attributes(5)

BUGS

All dates should probably be indexed, since many disciplines refer to literature written in the 1800s or earlier.

indxbib does not recognize pathnames.