sendmail, 4th Edition

$digit

Copy by position RHS operator

The LHS wildcard operators ( $* , $+ , $- , and $@ ) and the LHS class-matching operators ( $= and $~ ) can have their matched values copied to the RHS by the $ digit positional operator. Consider, for example, the following rule:

 R $+ < @ $- . $* >        $: 

Here, there are three wildcard operators in the LHS. The first (the $+ ) corresponds to the $1 on the RHS. The object of this rule is to match a focused address and rewrite it as the username. For example, gw@wash.dc.gov will be rewritten to be gw .

The $ digit operator can be used only on the RHS of rules. See Section 18.7.1 in this chapter for a full description of this $ digit operator.



Sendmail
sendmail, 4th Edition
ISBN: 0596510292
EAN: 2147483647
Year: 2002
Pages: 1174

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net