Introduction

## Using Hyper Grep to Find Things

Similar to the Unix command grep, you may search a selection of files for the occurrence of a string. The Hyper Grep function is available from all windows. Select Hyper Grep either from the Search pulldown menu of the main Understand window, or from an entities right click menu, or from the right click menu of any marked text.

### Controlling Searches

In the Hyper Grep dialog box, specify the string to search for and what files to search.

The search may be conducted on all files that have been included for analysis or on a subset of files that you specify. Multiple files may be specified by wildcarding or by specifying a list of files separating each file with a "," comma.

You can also choose to consider case sensitivity when matching, require matching on whole words, or specify a regular expression to be used for matching.

In addition, you can include or exclude searching of strings found in comments, strings, or code statements.

Press the Search button after specifying the search criteria and a list of all occurrences of the string will be displayed in the Search Results window.

### Search Results

The HyperGrep Search Results window shows each occurence of the string as it was found in the source line. Double click on any of the matching occurrences in the list, and the Source Window is loaded also.

The following shows a completed search of all project files for the string "data_" with the Source Window loaded with the selected matching occurrence.

.

Scientific Toolworks, Inc. http://www.scitools.com Voice: (802) 763-2995 Fax: (802) 763-3066 support@scitools.com sales@scitools.com