RMBUG(1)

     NAME
          rmbug - remove a defect record from the ClearDDTS system

     SYNOPSIS
          rmbug [-r] [bugid ...]

     DESCRIPTION
          The ClearDDTS system administrator can use rmbug to remove
          one or many defect reports from the local system.  The
          identifiers of the records(s) to be removed are supplied on
          the command line, or read from the standard input if no
          record IDs are listed.

          This command can be executed only by the user ddts.

          If there are many defects to remove, the -r option flag
          should not be used.

          Caution:  Prior to using rmbug without the -r option, the
          ClearDDTS system should be put into maintenance mode by
          using the adminbug(1)
 command smnt.  Otherwise, updating of
          the database files might interfere with searches and other
          changes being performed concurrently.  After using rmbug,
          remember to rebuild the database using the dbms command of
          adminbug(1).

          The -r option removes entries for the defect from the
          database as well as removing the defect record file from the
          system.  Updating the database this way is rather slow, so
          this option should only be used when removing a small number
          of bugs.  The ClearDDTS system should not be in maintenance
          mode when using the -r option.

     WARNINGS
          If the -r option is not used, after removing all the records
          you desire you must rebuild the database using the dbms
          command of adminbug(1).  If the database is not rebuilt,
          database entries will remain for non-existent defect record
          files.  This could confuse users and make report metrics
          incorrect.

     EXAMPLES
          This example uses findbug and rmbug to remove all the kernel
          defect record files that were resolved before 1988, and then
          rebuilds the database.

               findbug -p kernel Resolved-on before 880101 | rmbug
               adminbug dbms

          This example removes two defect record files and the
          corresponding database entries:

               rmbug -r XXXaa00055 XXXaa00122

     FILES
          ~ddts/allbugs/??/*   Defect record files
          ~ddts/index/CACHE    Database cache file
          ~ddts/index/[a-z]*   Database index files

     SEE ALSO
          adminbug(1), dumpbug(1), findbug(1), patchbug(1)