On Thu, Nov 16, 2000 at 11:23:01AM -0600, Goblin wrote:
> Ok, so now I have the multiline commands thing working for
> a singular send-hook, like follows.
> 
> send-hook '~t @domain.com$' "set signature=~/.sig_domain ; \
>       my_hdr From: User Name <[EMAIL PROTECTED]>"
> 
> Now, I'd like to have two additional capabilities:
> 
> 1. Define a macro for doing the multiple commands in the
>    send-hook instead of the way it's done now.

What do you mean?

> 2. Be able to match the ~t for multiple domains on the
>    same line.

How about using '~t @(a.com|y.com)$'
Regular expressions are your friends.

-- 
Ben Reser <[EMAIL PROTECTED]>
http://ben.reser.org

Maslow's Maxim:  If the only tool you have is a hammer,
you treat everything like a nail.

Reply via email to