Documentation is always useful :-)

DeleteLinesNotContainingFileItems filename
Delete lines in the file that do not contain the any of the substrings
in the file. 
DeleteLinesNotMatchingFileItems filename
Delete lines in the file that do not match the any of the regular
expressions in the file. 
DeleteLinesNotStartingFileItems filename
Delete lines in the file that do not start with any of the substrings in
the file. 


On Fri, 2005-12-16 at 10:39 +0100, Berthold Cogel wrote:
> Mark Burgess wrote:
> > On Thu, 2005-12-15 at 13:28 +0100, Berthold Cogel wrote:
> > 
> >>
> >>I need something like 'DeleteLinesMatchingFromFile', 
> > 
> > 
> > Why not use this then? :-)
> > 
> 
> Do I miss something?
> 
> I get a
> 'Unknown edit action "DeleteLinesMatchingFromFile"'.
> 
> We use cfengine 2.1.15. And the online documentation doesn't show this 
> statement either.
> 
> 
> Regards,
> 
> Berthold



_______________________________________________
Help-cfengine mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-cfengine

Reply via email to