procmail
[Top] [All Lists]

flow control: aborting an INCLUDERC

2001-10-31 12:15:15
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?

Before the implementation of SWITCHRC, the only method I could think of was
to invert the condition, open a brace, and enclose the rest of the INCLUDERC
in the braces.  That can be nasty if the remaining code is long or if it
happens several times and the nesting levels build up.




_______________________________________________
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>
  • flow control: aborting an INCLUDERC, David W. Tamkin <=