Search the FAQ Archives

3 - A - B - C - D - E - F - G - H - I - J - K - L - M
N - O - P - Q - R - S - T - U - V - W - X - Y - Z
faqs.org - Internet FAQ Archives

comp.sys.hp.hpux FAQ
Section - 8.27 How can I do regular expression matching?

( Single Page )
[ Usenet FAQs | Web FAQs | Documents | RFC Index | Houses ]


Top Document: comp.sys.hp.hpux FAQ
Previous Document: 8.26 How do I configure a program to automatically start up or shutdown when the system starts up or shuts down?
Next Document: 8.28 How can I play MP3s?
See reader questions & answers on this topic! - Help others by sharing your knowledge

First of all, refer to regexp(5) for the definitions of basic and extended
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
expressions.

Programmatically
================
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.

User Contributions:

Comment about this article, ask questions, or add new information about this topic:




Top Document: comp.sys.hp.hpux FAQ
Previous Document: 8.26 How do I configure a program to automatically start up or shutdown when the system starts up or shuts down?
Next Document: 8.28 How can I play MP3s?

Single Page

[ Usenet FAQs | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
hpux.faq@gmail.com





Last Update March 27 2014 @ 02:11 PM