Re: Multiple commands in a single hook

2000-11-26 Thread Michael Tatge
Tom Nott muttered: > I'm trying to create a send hook that both sets $signature and does a > my_hdr in the one go. > send-hook 'regex' 'set signature=~/.signature; my_hdr X-Hello: Hi I'm Mutt!' HTH, Michael -- VMS version 2.0 ==> PGP-Key: http://www.stud.ims.uni-stuttgart.de/~tatgeml/public.k

Re: Multiple commands in a single hook

2000-11-26 Thread Gary Johnson
On Sun, Nov 26, 2000 at 02:39:42PM +1100, Tom Nott wrote: > I'm trying to create a send hook that both sets $signature and does a > my_hdr in the one go. > So, is there any way of executing multiple commands with *one* send-hook > apart from putting them into a separate file and sourcing them? I'

Multiple commands in a single hook

2000-11-26 Thread Tom Nott
I'm trying to create a send hook that both sets $signature and does a my_hdr in the one go. I don't really want to use two send-hooks because the regex I have is large. I know that I can put the two commands in a separate file and source it, but if possible, I'd like to keep everything in my .mu