<<< Date Index >>>     <<< Thread Index >>>

Re: Macro - procmail



On Fri, Jan 16, 2004 at 04:56:26AM EST, Sascha Andres wrote:
> * David Yitzchak Cohen wrote on 16.01.2004 (02:16):

> > You might mean for it to do something like this, if I understand you
> > correctly:
> > macro pager ,k '|formail -x From:|~/.skripte/getfromadress > 
> > ~/.mail/killfile\n<save-message>the_other_folder\n'
> > 
> > Do I understand you correctly?
> 
> Yes you understood right. So I need to seperate the commands
> with \n to get them correctly recognized.

In most cases, it's safe to use a '\n' to separate commands.  You "should"
use semicolons instead under most circumstances, but when a function
normally asks the user to type something at the terminal ("What would
you like to pipe the message to?"), I don't believe it'll recognize a
semicolon as the end of input.

 - Dave

-- 
Uncle Cosmo, why do they call this a word processor?
It's simple, Skyler.  You've seen what food processors do to food, right?

Please visit this link:
http://rotter.net/israel

Attachment: pgpz3OYeKz8zK.pgp
Description: PGP signature