$>

Rewrite through another rule set RHS operator

It is often valuable to group rule sets by function and call them as subroutines from a rule. To illustrate, consider the following rule:

 R $+ < @ $+ > $: $>set

Here, the RHS $>set operator tells sendmail to perform additional rewriting using a secondary set of rules called set. The workspace is passed as is to that secondary rule set, and the result of the rewriting by that secondary rule set becomes the new workspace.

The $> operator is described in full in Rewrite Through a Rule Set: $>set on page 664.

Get sendmail, 4th Edition 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.