How can I do regular expression matching? Added: 04/13/01

First of all, refer to regexp(5) for the definitions of basic and
regular expressions.

From the command-line
The following commands support basic regular expression matching:

o grep(1)
o sed(1)
o ed(1)
o ex(1)
o vi(1)

The following commands support extended regular expression matching:

o egrep(1) (grep -E)
o awk(1)

Perl supports Perl regular expressions, a superset of extended regular

Use regcomp(3C). Do not use regcmp(3X) or re_comp(3X); these are
obsolescent and may be removed in a future HP-UX release.

[an error occurred while processing this directive]