Class Macros

A class macro is one whose symbol can represent multiple words. Those words can be declared in the configuration line or read from an external file or from the output of an executed program.

CXword word ... FX /file FX |program

The symbolic name (here X) is either a single letter or a multi-character name. If multi-character, it must be surrounded by curly braces:

C{XXX}word word ... F{XXX} /file  F{XXX} |program

The sendmail program reserves all but class names that begin with an uppercase letter for its own internal use. Class macros are usable only in the LHS of rules. A $= prefix matches a token to any word in the class. A $~ prefix matches if the token is not in the class.