You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Matthew Trent <mt...@localaccess.com> on 2004/02/11 00:34:52 UTC

_TESTSSCORES()_ question

I'm trying to use _TESTSCORES(\n)_ to put a new line between the TEST=score 
entries, in order to make the report more readable. Unfortunately, it doesn't 
interpret the \n, and prints a '\' and a 'n' instead. I ended up changing 
line 836 in PerMsgStatus.pm (in 2.63) from:

$line .= $arg . $test . "=" . $self->{conf}->{scores}->{$test};

to:

$line .= "\n" . $test . "=" . $self->{conf}->{scores}->{$test};

... which works just fine.

However, it'd be nice not to have to hack it, or at least to hack it a little 
more cleanly. Can anybody tell me how to make it interpret that \n?
-- 
Matt
Systems Administrator
Local Access Communications
360.330.5535