Thanks, Harry, patch applied. On Tue, 2005-08-09 at 18:46 -0400, Harry Hoffman wrote: > Hi all, > > A while back I had written about problems I was having getting the Filters > to work. > http://groups-beta.google.com/group/gnu.cfengine.help/browse_thread/thread/dfd22a8102ef9181/7f82ee7cbb76b11c?lnk=st&q=Problems+with+Filter+cfengine+hhoffman&rnum=1&hl=en#7f82ee7cbb76b11c > > Tom Mezzatesta was kind enough to point out to me that: > ExecRegex: "/usr/bin/file (.*executable.*)" > should actually be > ExecRegex: "/usr/bin/file ($this) (.*executable.*)" > > It would seem that the example in the documentation is incorrect so I've > included a patch to the current svn trunk. > > I've also included in the body of the message in case attachments are > discarded: > > Index: cfengine-Reference.texinfo > =================================================================== > --- cfengine-Reference.texinfo (revision 118) > +++ cfengine-Reference.texinfo (working copy) > @@ -7028,7 +7028,7 @@ > FromSize: "10000" # File size interval > ToSize: "10mb" > > - ExecRegex: "/usr/bin/file(.*ascii.*)"# Result from "files" command > + ExecRegex: "/usr/bin/file $(this) (.*ascii.*)"# Result from "files" > command > > Type: "dir|link" # > reg|link|dir|socket|fifo|door|char|block > > > HTH, > Harry > _______________________________________________ Help-cfengine mailing list > Help-cfengine@gnu.org http://lists.gnu.org/mailman/listinfo/help-cfengine
_______________________________________________ Help-cfengine mailing list Help-cfengine@gnu.org http://lists.gnu.org/mailman/listinfo/help-cfengine