Searching Multiple Directories

Related Topics:

Pattern Search and Source Browsing Pattern Search Mode

Pattern searching uses the directories listed in the sb_init text file to search source files in multiple directories.

To search multiple directories:

1. Identify where your sb_init file resides.

The sb_init file by default is stored in the SunWS_config directory (or the directory set by the SUNWS_CONFIG_NAME environment variable) in the current working directory.

2. Add an import command to the sb_init file for each directory that you want to search by typing:

import absolute-or-relative-pathname

Use the import option to search your entire source tree for source files by adding an import command to the sb_init file for each directory in your source tree.

3. Follow the steps in Searching for a Pattern.