[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: More file content matching problems
From: |
Jan-Henrik Haukeland |
Subject: |
Re: More file content matching problems |
Date: |
Tue, 02 Oct 2007 16:36:41 +0200 |
On 2. okt. 2007, at 11.20, Nathan wrote:
if match ".*\sERROR\s.*"
if match ".*\sWARN\s.*" then
exec "/bin/true"
alert address@hidden
An if-statement requires a 'then' clause. So this should work.
if match ".*\sERROR\s.*" then
exec "/bin/true"
if match ".*\sWARN\s.*" then
exec "/bin/true"