procmail
[Top] [All Lists]

Re: flow control: aborting an INCLUDERC

2001-11-01 07:12:14
There isn't currently any intentionally designed way to exit an INCLUDERC
early (or a SWITCHRC called from an INCLUDERC) and return to one's place in
the rcfile from which it was called, is there?  It can be done by setting
SWITCHRC=/dev/null, but is there a better way?  Is there some drawback to
doing it by setting SWITCHRC=/dev/null, or situation where that wouldn't
work?

Looking at the code (perhaps Phillip would confirm?) it seems like there
*is* an intentionally designed way, and you're using it.  Setting
SWITCHRC=/dev/null is specifically checked for and exits the current
rcfile.

M
-- 
Martin McCarthy                 /</                  PGP key available
    `Procmail Companion'        \>\  http://www.ancient-scotland.co.uk
     Addison Wesley             /</    http://www.ehabitat.demon.co.uk
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>