procmail
[Top] [All Lists]

Re: exit codes, TRAP, etc.

2004-04-15 01:35:50
On Thu, Apr 15, 2004 at 02:30:30AM +0200, Ruud H.G. van Tol wrote:
Toen wij Dallman Ross kietelden, kwam er dit uit:

I cannot find a simple way to see if
an INCLUDERC didn't execute, other than testing for something
that could only have happened inside the INCLUDERC.

What's wrong with that then?

Inside the INCLUDERC put something like 

  RCSIG = $_
  :0
  * RCSIG ?? ()\/[^/]+^^
  { RCSIG = $MATCH }
  G_WASHERE = "${G_WASHERE}${RCSIG}$NL"


Yup, thanks.  As you probably know (from some private transfer of
ideas), that is very close to what I'm actually doing. :-) I was simply
hoping someone would see a (yet more) brilliant way to know if the
INCLUDERC didn't run.  After all, *something* knows, because *something*
reported to the verbose log:

   procmail: Couldn't read "[path/to/rc]"

But I'm going to continue doing it the way I coded it already
unless something better comes along.


If you also want to POP easily from G_WASHERE, 

POP?  I don't follow you now.

  G_LEVEL = "@"
# a constant
  C_ALPHA = "@\
ABCDEFGHIJKLMNOPQRSTUVWXYZ\
abcdefghijklmnopqrstuvwxyz"
[deleted]

Okay, I think I see where you're getting this stuff now.  ;->
Interesting.

Thansk, Ruud,

Dallman

_______________________________________________
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>