HP Search/XL User's Guide

1-5
1 HP Search Quick Reference
HP Search Quick Reference Page
Command Syntax. RUN HPSEARCH.PUB.SYS
[;INFO="[files ] [FOR patterns ] [WITH options ]"]
If you do not specify files or patterns, HP Search prompts for them.
File Names. Specify file names with the same characters as the MPE LISTF command:
You can specify an indirect file containing the names of the files to search: ^filename
Patterns. You can specify up to 16 patterns. Patterns match themselves, except for the following
characters:
You can use an indirect file to specify the patterns to search:^filename
@ Any alphanumeric characters.
? Any single alphanumeric character.
# Any single digit.
[ ] Brackets enclose a set of characters; matches any one in the set.
- Used in a range, as [a-z]; must be in brackets.
( ) Parentheses enclose a group.
| Used to choose between two patterns, as (A|B); matches either pattern. Must be in paren-
theses.
+ Matches one or more of the previous pattern.
* Matches zero or more of the previous pattern.
\ Matches the following character literally.
@ Matches any number of characters.
? Matches any one character.
# Matches any one digit.
%x or %X Matches an exclamation point (!).
%s or %S Matches a single quote (').
%d or %D Matches a double quote (").
%nn Matches ASCII character with octal value nn. (For example, %7 is bell.