Man Page sbcleanup.1




NAME

     sbcleanup - deletes old Source Browsing database files


SYNOPSIS

     sbcleanup


AVAILABILITY

     Available with ANSI C, C++, and Sun FORTRAN, and Assembler


DESCRIPTION

     sbcleanup marks for deletion any  obsolete  Source  Browsing
     database files in the SunWS_cache/sb_NewRoot subdirectory of
     the current working directory and creates a new index  under
     SunWS_cache.


USAGE

     sbcleanup is called automatically by compilers running  with
     the  -xsb  option when a specific time has elapsed since the
     last index computation and deletion  marking  operation  was
     performed.   The default elapsed time is 12 hours.  To over-
     ride the default, add the following to your sb_init file:

     cleanup-delay <limit>

     where <limit> is the value you desire, in hours.


ENVIRONMENT

     The compilers automatically locate the sbcleanup executable.
     If  desired, the location of the executable can be overwrit-
     ten     by     setting     the     environment      variable
     SUNPRO_SB_CLEANUP_PATH to be the full pathname of sbcleanup.


OPTIONS

     -v   Display version information.


SEE ALSO

     sbquery(1), sbtags(1), sbinit(4), workshop(1).