Folks,

i can't seem to get a match on LocateLineMatching in edit files...

if the file has "foo foo foo 123456"

LocateLineMatching "foo" = fails to match
LocateLineMatching 'foo' = fails to match
LocateLineMatching "foo*" = fails to match
LocateLineMatching "/^foo*/" = fails to match
LocateLineMatching 'foo*' = fails to match

if the line is "foo"
then
LocateLineMatching "foo" = works...

I also tried
LocateLineMatchingRegexp (?! found a reference to this on the bb, but it 
returns as Unknown edit action )

what am I missing here?


-luis
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
http://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to