[Aide] Why won't this RE work?

Lee Maschmeyer lee_maschmeyer at wayne.edu
Mon Feb 26 21:07:27 EET 2007


We're using AIDE 0.10. It's old but my manager figures there will always be
new versions of things and he wants to move only when there is clear need.

We have one Solaris 10 host that runs smpatch to download and install a
patch file every night. The AIDE output for each run shows lines of the
form:

added:/var/sadm/spool/patchpro_dnld_2007.02.26 at 24:06:14:EST.txt

To get rid of these lines I attempted to construct an RE that would exclude
them:

!/var/sadm/spool/patchpro_dnld_[[:digit:]]\{4\}\.[[:digit:]]\{2\}\.[[:digit:]]\{2\}@\([[:digit:]]\{2\}:\)\{3\}E[DS]T\.txt$

Aside from the question of whether this is the best way to do this, can
anyone tell why this RE doesn't exclude these files? I thought perhaps it
was the @ so I tried substituting \@ (just grasping at straws) but it didn't
help.

Thanks,

-- 
Lee Maschmeyer
<lee_maschmeyer at wayne.edu>

"Be kind to your fur-bearing friends,
For a skunk may be somebody's brother."
     --Fred Allen




More information about the Aide mailing list