HP Search/XL User's Guide

3- 19
[A-Z]BUF Any one capital letter followed by "BUF".
[A-Z]\(@\); Any string starting with an uppercase alphabetic character followed by an open parenthe-
sis, any number of characters, and a close parenthesis. The entire string must be termi-
nated with a semicolon.
BUF+ Any string that begins with "BU", followed by one or more occurrences of "F".
BUF* The character string "BU" followed by zero or more occurrences of "F".
???_BUF# Any three characters followed by the string "_BUF" followed by any one digit.
\@\?\\ The string "@?\".
‘pic x\(15\)' The character string pic followed by asingleblank,thecharacterx,a left parenthesis, the
number 15, then a right parenthesis. Literally, the string pic x(15). The single quotes
around the pattern are required because of the embedded blank. They are only needed
when entering the pattern in the INFO string.
Characters with Special Meaning in MPE XL
When specifying patterns on the command line, there are three characters that you cannot use:
exclamation point (!), single quotation mark ('), and double quotation mark ("). Because these characters
have special meaning in the MPE XL operating system, you must use the sequences shown in Table 3-2 if
you want to include them in a pattern specification.
You should note that you only have to use the above sequences when specifying these characters on the HP
Search command lines; use the sequence or the character itself in an indirect pattern file or at the pattern
prompt.
Specifying Unprintable Characters in a Pattern
On occasion, you may want to search for a pattern that contains an unprintable character. For example,
you could use HP Search to find a pattern containing the Escape character, ESC. To match an unprintable
character, type a percent sign (%) followed by the octal ASCII value of the character you want in your
pattern. Valid ranges for a character are the octal values 1 through 377. For instance, %33 should be used
to specify the escape character. To specify an unprintable character followed by a digit, type a backslash
before the digit. For example, to specify the pattern "ESC6" type %33\6 in the pattern parameter.
Option Parameters
You may specify options on the command line which affect the way HP Search looks for patterns, the
format of its output, and the destination of this output. Any parameters listed in the HP Search command
line after WITH are treated as option specifiers.
Option parameters may be specified in any order but must be delimited with blank spaces or commas.
Table 2: Characters with Special MPE XL Meaning
Desired Character
Sequence Needed to Specify Character in the HP
Search Command Line
Exclamation Point, ! %x or %X
Single Quotation Mark, ' %s or %S
Double Quotation Mark, " %d or %D