procmail
[Top] [All Lists]

Re: Carbon copy for each TO

1997-04-30 21:18:00
Stan Ryckman <stanr(_at_)sunspot(_dot_)tiac(_dot_)net> writes:
<deleted>
Since this trick is not very intuitive, I'm wondering what's wrong
with something easier to remember (and to explain!) such as:
       :0:
       * LASTFOLDER ?? .+
       {
           ...etc.

Am I missing something?

Well, the '+' is unneeded (though it shouldn't cost you anything), but
yes, that should work just fine.  (You also can't have a locallockfile
on a non-cloned nested block.)  The only differance is that the ${LF+!}
trick will work even if the variable is empty, but set, which shouldn't
matter in the case of LASTFOLDER.  There may be a speed differance, but
I could see it swing either way.

If nothing else, ${LF+!} has more hack value.  ;-)

Philip Guenther

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