procmail
[Top] [All Lists]

Re: error in recipe

2005-01-11 16:54:20
Toen wij Bart Schaefer kietelden, kwam er dit uit:
Ruud H.G. van Tol:

And I prefer a syntax like:

  :0
  *$ $REM message
  { }

which can be achieved with

  REM = "! HOST ?? ^^^^${TAB}"

OK, that's fine, but why not

  REM = "! REM ?? ^^^^${TAB}"

At least then "$ $REM" in the rcfile becomes "! REM ??" in the log,

No, that part is not shown, just the 
  Match on ! ^^^^    message 
is shown.


rather than this strange reference to HOST popping up for no obvious
reason.

REM is OK too (and EXITCODE is even better), there just needs to be 
variable there, the smaller the better.


(And why four carets rather than two?)

To make it fast'n'easy for procmail to know that the condition is 
false.

-- 
Grtz, Ruud

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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