SBINIT(5) — FILE FORMATS
NAME
SYNOPSIS
sbinit
DESCRIPTION
.sbinit is a text file used by Sun SourceBrowser to obtain information about the SourceBrowser database structure. SourceBrowser’s default is to build its database in the current working directory; then search in that database when you issue a query. You will use .sbinit if you want to work with source files whose database information is stored in multiple directories. The .sbinit file is limited to the three commands described in the next section.
COMMANDS
The Import command
This command reads databases in directories other than the current working directory used by SourceBrowser. The Import command has this form
Import <path>
where path is the path to the directory that contains the subdirectory containing the database you want to import.
The Export command
This command writes databases associated with specified source files to directories other than the current working directories used by SourceBrowser and the compiler. The export command has this form
export <prefix> into <path>
Whenever the compiler processes a source file whose absolute path starts with prefix the resulting browser data (.bd) file will be stored in <path>. The export command contains an implied import command.
The Split command
This command improves performance when working with large programs. The split command has this form
split <size>
where <size> is the size in bytes of the database index when the database will be split by SourceBrowser.
EXAMPLE
import /project/source2
export /usr/include into /project/sys
split 1000000
SEE ALSO
Sun SourceBrowser Reference Manual
Sun Release 4.0 — Last change: 10 October 1989