procmail
[Top] [All Lists]

Re: moving the procmail.log

1997-07-10 13:56:00
Dallman Ross spaketh thusly at dman:

From:    Kevin Kelleher [SMTP:kevink(_at_)MIT(_dot_)EDU]

One of the first things in my .procmailrc is a call
to a perl script:

  :0c
  | $HOME/bin/clocker

This checks a flag file to see whether it has already
run today, and if so exits.  If it hasn't, it
changes the flag file and then does a bunch of stuff,

Is it just me, or do others have a philosophical objection
to triggering the overhead of perl for every single message
that comes in when it is easy to do this by other, less
"inflationary" means?

I do too, especially if you are time-sharing on a UNiX network where the
host resources are shared among many users.  It would seem a simple
(bourne) shell script could easily do what he wants without the overhead
of perl.  No need to break out the "swiss-army chainsaw" (perl) when a
"paring knife" is all that is needed.

[snip]

Lates!
--------------------------------------------------------------------------
Tim <bodysurf(_at_)pobox(_dot_)com>                         
mailto:bodysurf(_at_)pobox(_dot_)com
Finger bodysurf(_at_)pobox(_dot_)com for my PGP public key (Bits 1024/KeyID 
09DA5C49)
PGP Key FingerPrint (09/03/94):  4C97 F1FA 7055 6891   49D1 ADF2 DD63 0C15
--------------------> Please PGP encrypt your email <---------------------

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