Ed James <JAMESVE1(_at_)s1pvxe(_dot_)jhuapl(_dot_)edu> writes:
On Tue, 28 Oct 1997 10:47:09 -0600 (CST), dattier(_at_)wwa(_dot_)com (David
W. Tamkin)
wrote to jari(_dot_)aalto(_at_)poboxes(_dot_)com (Jari Aalto):
You can still do it with a real horizontal tab character. If that doesn't
satisfy you, you can set a variable that contains a tab (or a space and a
tab) and use it with "$" interpretation:
SPACETAB=" "
and then write things like
* $ ^Header-Name:[$SPACETAB]*\/[^$SPACETAB].*
I tried this in my .procmailrc and did not get the selection I wanted.
Attached is the script output from a test setup I created and ran on
HPUX B.10.10 on a 9000/770.
Can anyone please tell me what I am doing wrong?
...
:0c:
* ^Sender:[$SPACETAB]+hpux-admin-owner(_at_)cv(_dot_)ruu(_dot_)nl
hpuxadmin
...
You left out the dollarsign that belongs right after '*' that marks the
line as a condition. That's what tells procmail to do variable expansion
on that condition:
:0c:
* $ ^Sender:[$SPACETAB]+hpux-admin-owner(_at_)cv(_dot_)ruu(_dot_)nl
hpuxadmin
Philip Guenther