The ULTRIX pattern style enables the special interpretation of
wildcard characters and a quote character in the search-string
parameter as shown below:
ULTRIX-Style Wildcards
Wildcard Matches
. A single character.
^ Beginning of a line.
$ End of a line.
[set-of- Any character in the specified set. For example,
characters] [abc] matches any letter in the set "abc" and [c-t]
matches any letter in the set "c" through "t."
[^set-of- Anything not in the specified set of characters.
characters]
\ Lets you specify the characters \,.,^,$,[,],or * in
wildcard expressions. For example, \\ matches the
backslash character (\).
* Repeats the previous pattern zero or more times,
including the original.
+ Repeats the previous pattern at least once,
including the original; that is, a null occurrence
does not match.
For example the following command will find a line starting with
a, b or c:
SEARCH/PATTERN "^[abc]"