procmail
[Top] [All Lists]

running "Side effect" shell commands

1998-02-03 07:32:41


    Hi, during months of using procmail I have moved from one
    method to another when printing message to my "biff" log, that
    is motored inside my Emacs and I was wondering if anyone has
    comments on the recipes used

    1) What whuld you use and why?
    2) Is there any real difference between these.


#1  Nowadays I use this if I want to add a message to biff log

    dummy = "`echo message: $FROM $SUBJECT >> $biff `  

#2  I used to use this, but i don't like the idea of taking up
    and "delivering" recipe and circumventing it with `c' flag.

    :0 wc:
    | echo message: $FROM $SUBJECT >> $biff

#3  And recently I realised that i could restrict the printing condition
    without using delivery action. We use side effect of "?" here.

    :0
    *   in-some-cases-go-here
    * ? echo "$TODAY $FFROM $FSUBJ" >> $HIN
    { }


    folks, any comments?
    jari

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