'\" te .\" Copyright (c) 1992, Sun Microsystems, Inc. .TH lookbib 1 "14 Sep 1992" "SunOS 5.11" "User Commands" .SH NAME lookbib \- find references in a bibliographic database .SH SYNOPSIS .LP .nf \fBlookbib\fR \fIdatabase\fR .fi .SH DESCRIPTION .sp .LP A bibliographic reference is a set of lines, constituting fields of bibliographic information. Each field starts on a line beginning with a `\fB%\fR', followed by a key-letter, then a blank, and finally the contents of the field, which may continue until the next line starting with `\fB%\fR'. .sp .LP The \fBlookbib\fR utility uses an inverted index made by \fBindxbib\fR to find sets of bibliographic references. It reads keywords typed after the `\fB>\fR' prompt on the terminal, and retrieves records containing all these keywords. If nothing matches, nothing is returned except another `\fB>\fR' prompt. .sp .LP It is possible to search multiple databases, as long as they have a common index made by \fBindxbib\fR(1). In that case, only the first argument given to \fBindxbib\fR is specified to \fBlookbib\fR. .sp .LP If \fBlookbib\fR does not find the index files (the \fB\&.i\fR[\fBabc\fR] files), it looks for a reference file with the same name as the argument, without the suffixes. It creates a file with a \fB\&.ig\fR suffix, suitable for use with \fBfgrep\fR (see \fBgrep\fR(1)). \fBlookbib\fR then uses this \fBfgrep\fR file to find references. This method is simpler to use, but the \fB\&.ig\fR file is slower to use than the \fB\&.i\fR[\fBabc\fR] files, and does not allow the use of multiple reference files. .SH FILES .sp .ne 2 .mk .na \fB\fB\fIx\fR.ia\fR\fR .ad .RS 8n .rt .RE .sp .ne 2 .mk .na \fB\fB\fIx\fR.ib\fR\fR .ad .RS 8n .rt .RE .sp .ne 2 .mk .na \fB\fB\fIx\fR.ic\fR\fR .ad .RS 8n .rt index files .RE .sp .ne 2 .mk .na \fB\fB\fIx\fR.ig\fR\fR .ad .RS 8n .rt reference file .RE .SH ATTRIBUTES .sp .LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp .sp .TS tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) . ATTRIBUTE TYPEATTRIBUTE VALUE _ Availabilitytext/doctools .TE .SH SEE ALSO .sp .LP \fBaddbib\fR(1), \fBgrep\fR(1), \fBindxbib\fR(1), \fBrefer\fR(1), \fBroffbib\fR(1), \fBsortbib\fR(1), \fBattributes\fR(5) .SH BUGS .sp .LP Probably all dates should be indexed, since many disciplines refer to literature written in the 1800s or earlier.