Kai Schaetzl wrote:
>  wrote on Thu, 8 Dec 2005 06:21:23 -0800:
> 
>> Content-Transfer-Encoding: base64
> 
> Sorry, my mailreader doesn't like base64 encoding for text/plain and
> saves that answer away as an attachment.

OK, here it is as plain text.  FWIW, the syntax for Windows matches what I 
wrote.

From: Clay Davis [mailto:[EMAIL PROTECTED] 
> 
> Can anyone tell me how to pipe the output to a file when I run SpamAssassin?
> I want to do something similar to:
> SpamAssassin -D --lint > C:\saout.txt
> But it doesn't seem to work that way.
 
Do you want to capture STDOUT, STDERR, or both?
 
Try:
SpamAssassin -D --lint > C:\sa-stdout.txt 2> C:\sa-stderr.txt
 
There's also a way to combine the streams:
SpamAssassin -D --lint > C:\saout.txt 2>&1
 
But the exact syntax for Windows skips my mind.
 
You can pipe STDERR too, with 2|

-- 
Matthew.van.Eerde (at) hbinc.com               805.964.4554 x902
Hispanic Business Inc./HireDiversity.com       Software Engineer

Reply via email to