procmail
[Top] [All Lists]

Re: Trying to use $1 from -a argument

1995-11-30 11:54:35
srb(_at_)cuci(_dot_)nl (Stephen R. van den Berg) said:

Sten Drescher <dreschs(_at_)mpd(_dot_)tandem(_dot_)com> wrote:

* 1 ?? .+

SRvdB> $1 is a pseudovariable.  So this doesn't work.

        That's what I thought the problem was.  Not having looked at the
code, is there any chance of having this restriction removed in a future
version?  It's annoying having to do a 'FILED=$-' every time I want to
see if a mail has been filed and carboned.

SRvdB> * ARGUMENT ?? ^^[^/ ]+^^ mail.$1.spool

        I there any particular reason for doing it this way, rather than
'* ARGUMENT ?? .+'?

        Sten

-- 
#include <disclaimer.h>                         /* Sten Drescher */
To get my PGP public key, send me email with your public key and
        Subject: PGP key exchange
Key fingerprint =  90 5F 1D FD A6 7C 84 5E  A9 D3 90 16 B2 44 C4 F3

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