HP 3000 Manuals

Searching for Text in the File [ HP Browse/XL User's Guide ] MPE/iX 5.0 Documentation


HP Browse/XL User's Guide

Searching for Text in the File 

With HP Browse you can search for words and patterns of characters in the
file you are browsing.  You can also display only the lines that contain
the desired characters.

The first step is to define the pattern of text you want to locate.  This
is called the search pattern.  Once the search pattern has been defined,
you can then issue one of the functions that initiates a search.

Defining a Search Pattern 

To define a search pattern, do either of the following:

   1.  Press f.

   2.  Type the characters you want to find.  (See "Search Functions", in
       Chapter 3 for more information.)

   3.  Press Return.

Or:

   1.  Press the  Search function key.

   2.  Press the  Define Search function key.

   3.  Type the characters you want to find.  (See "Search Functions", in
       Chapter 3 for more information.)

   4.  Press Return.

Searching Forward 

To search forward for the current search pattern, do either of the
following:

   1.  Press /.

Or:

   1.  Press the  Search function key.

   2.  Press the  Search Forward function key.

Searching Backward 

To search backward for the current search pattern, do either of the
following:

   1.  Press \.

Or:

   1.  Press the  Search function key.

   2.  Press the  Search Backward function key.

Displaying All Lines with the Search Pattern 

To display all occurrences of the search pattern in the file:

   1.  Press the  Search function key.

   2.  Press the  Find All function key.



MPE/iX 5.0 Documentation