- create or extend a bibliographic database
addbib [-a] [-p promptfile] database
When addbib starts up, answering y to the initial Instructions? prompt yields directions. Typing n (or RETURN) skips the directions. addbib then prompts for various bibliographic fields, reads responses from the terminal, and sends output records to database. A null response (just RETURN) means to leave out that field. A `-' (minus sign) means to go back to the previous field. A trailing backslash allows a field to be continued on the next line. The repeating Continue? prompt allows the user either to resume by typing y (or RETURN), to quit the current session by typing n or q, or to edit database with any system editor (see vi(1), ex(1), ed(1)).
The following options are supported:
Suppresses prompting for an abstract. Asking for an abstract is the default. Abstracts are ended with a Control-D.
Uses a new prompting skeleton, defined in promptfile. This file should contain prompt strings, a TAB, and the key-letters to be written to the database.
The most common key-letters and their meanings are given below. addbib insulates you from these key-letters, since it gives you prompts in English, but if you edit the bibliography file later on, you will need to know this information.
Book containing article referenced
City (place of publication)
Date of publication
Editor of book containing article referenced
Footnote number or label (supplied by refer)
Government order number
Header commentary, printed before reference
Journal containing article
Keywords to use in locating reference
Label field used by -k option of refer
Bell Labs Memorandum (undefined)
Number within volume
Other commentary, printed at end of reference
Corporate or Foreign Author (unreversed)
Report, paper, or thesis (unpublished)
Title of article or book
Abstract — used by roffbib, not by refer
Ignored by refer
Example 1 Editing the bibliography file
Except for A, each field should be given just once. Only relevant fields should be supplied.
%A Mark Twain %T Life on the Mississippi %I Penguin Books %C New York %D 1978
See attributes(5) for descriptions of the following attributes: