rdl update

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

rdl update

Jim Prewett

Hi all,

Yesterday (Tuesday), I committed some stuff to rdl.lisp that will allow us
to specify the names of the variables to bind based on a regexp match.  
(Unfortunately, this doesn't yet work for other types of matches).

The basic idea is one could do something like:

(rule matching "(\\w+) disk error on device (\\w+)"
      bind (HOST DISK)
      (lambda (message)
        (format t "disk error on host: ~A disk: ~A~%"
                HOST DISK)))


James E. Prewett                    [hidden email] [hidden email]
Systems Team Leader           LoGS: http://www.hpc.unm.edu/~download/LoGS/ 
Designated Security Officer         OpenPGP key: pub 1024D/31816D93    
HPC Systems Engineer III   UNM HPC  505.277.8210

LoGS-devel mailing list
[hidden email]