OpenWindows Desktop Reference Manual
  Rechercher uniquement dans ce livre
Télécharger cet ouvrage au format PDF

NAME

ab_admin - administer AnswerBook card catalog database(s)

SYNOPSIS

ab_admin
        -file card-catalog-file
                -match answerbook-id[,version]
                -add answerbook-id[,version]
                        answerbook-attribute-list
                -modify answerbook-id[,version]
                        answerbook-attribute-list
                -merge card-catalog-file
                -convert bookinfo-file
                -remove answerbook-id[,version]
                -verify answerbook-id[,version]
                -list
        -listpaths

DESCRIPTION

ab_admin provides a shell-level interface to the AnswerBook card catalog database mechanism. It allows administrators to add, delete, list, modify, and verify individual AnswerBook entries in a given card catalog file. It also supports the merging of entries from one card catalog file into another, and the conversion of old-style "bookinfo" files into card catalog entries. See ab_cardcatalog(4) for more information on card catalogs

OPTIONS

-file card-catalog-file
Specifies the name of the card catalog file. All ab_admin operations except "-listpaths" require that the file be specified.
-merge card-catalog-file
Merge the entries from input card catalog file into the card catalog file being updated.
-convert bookinfo-file
Extract the information from the specified bookinfo file needed to create a card catalog entry for the AnswerBook, and add that entry to the card catalog file being updated.
-add answerbook-id[,version] [answerbook-attribute-list]
Construct a new card catalog entry for the AnswerBook using the information provided on the command line.
-remove answerbook-id[,version]
Delete the specified entry.
-match answerbook-id[,version]
Display the contents of the specified entry.
-modify answerbook-id[,version] [answerbook-attribute-list]
Modify the specified fields of the specified entry.
-verify answerbook-id[,version]
Verify the correctness of the specified entry. Verify that the corresponding
AnswerBook exists, and is usable.
-list
List all entries in the specified card catalog.
-listpaths
List the fully qualified pathnames of the card catalogs you have access to, one per line.
AnswerBook Attributes
        The following AnswerBook attributes are used in the -add and -modify opera-
        tions of ab_admin. See ab_cardcatalog(4) for more information.

title=answerbook-title
Title of this AnswerBook
tocpath=toc-directory-path
Full pathname of the directory containing this AnswerBook's book database files
pspath=postscript-directory-path
Full pathname of the directory containing this AnswerBook's PostScript files
indexpath=index-directory-path
Full pathname of the directory containing this AnswerBook's search index files

EXAMPLES

See the UNKNOWN TITLE ABBREVIATION: ABADMIN for examples of ab_admin(1) usage.

SEE ALSO

ab_cardcatalog(4), answerbook(1), navigator(1)