Useful Tables
There are three useful tables in this chapter:
Table 18-2 lists all the rule operators that you may use on the LHS of rule sets (Section 18.2.1 [V8.13])
Table 18-3 lists all the rule operators that you may use on the RHS of rule sets (Section 18.2.2 [V8.13])
Table 18-4 lists all the rule operators (Section 18.2.3 [V8.13])
Table of LHS Operators
The LHS (lefthand side) of any rule is compared to the current contents of the workspace to determine whether the two match. Table 18-2 displays a variety of special operators offered by sendmail that make comparisons easier and more versatile.
Table 18-2. LHS operators
Operator |
sendmail text reference |
Description or use |
---|---|---|
|
18.9.21[3ed] |
Match zero or more tokens |
|
18.9.17[3ed] |
Match one or more tokens |
|
18.9.16[3ed] |
Match exactly one token |
|
18.9.2[3ed] |
Match exactly zero tokens (V8 only) |
|
22.2.1[3ed] |
Match any tokens in a class[a] |
|
22.2.2[3ed] |
Match any single token not in a class |
|
18.9.18[3ed] |
Match a literal |
|
18.9.23[3ed] |
Match a literal |
|
21.5.3[3ed] |
Delay macro expansion until runtime |
[a] Class matches either a single token or multiple tokens, depending on the version of sendmail (§22.2[3ed]). |
Table of RHS Operators
The RHS (right-hand side) of a rule
rewrites the workspace. To make this
rewriting more versatile, sendmail
offers
several special RHS operators. The complete list is shown in Table 18-3.
Table 18-3. RHS operators
RHS |
sendmail text reference ... |
---|
Get sendmail 8.13 Companion now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.