On Mon, 31 May 2004, Tim Klein wrote:

> Is it possible to put multiple lines in the "description"
> directive of a monitor, in the config file?  I've tried
> inserting "\n", but that doesn't seem to do the trick --
> it just gets interpreted literally instead.

not at the moment.

if you have a look at "sub read_cf" you'll see a "do" construct after
the comment "read in a logical line". after the "chomp $l" could add
some code which could handle embedded and escaped characters such as
"\n". the line is stored in $l at that point. add something like this
should do the trick for you:

        $l =~ s{\\n}{\n}g;


_______________________________________________
mon mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/mon

Reply via email to