LogProcessor

Artifact [46c4272589]
Login

Artifact 46c4272589e1760d0425c0044ac98e7a2db630fb:

Wiki page [example command file] by matt 2011-05-22 17:47:10.
D 2011-05-22T17:47:10.901
L example\scommand\sfile
P 59ecc19b0be23410568056a92336b1014e3c8d84
U matt
W 745
<verbatim>
;; first ensure your run at least started
;;
(trigger "Init"     #/This is a header/)
(trigger "InitEnd"  #/^\s*$/)
(section "Init" "Init" "InitEnd")

(trigger "Body"     #/^.*$/) ;; anything starts the body
;; (trigger "EndBody"  #/This had better never match/)

(section "Body"     "Body" "EndBody")

(trigger "Blah2"    #/^begin Blah2/)
(trigger "Blah2End" #/^end Blah2/)
(section "Blah2"    "Blah2" "Blah2End")

(expect:required in "Init"  = 1 "Header"      #/This is a header/)

(expect:ignore   in "Blah2" = 1 "FALSE ERROR" #/ERROR/)
(expect:error    in "Body"  = 0 "ERROR BLAH"  (list #/ERROR/ #/error/)) ;; but disallow any other errors

(expect in "Init"  < 1 "Junk"        #/This is bogus/)
</verbatim>
Z eb88b8fc47f09892b8560e408c6063a7