Forum: CFEngine Help Subject: Re: delete_lines and select region Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,26551,26560#msg-26560
You might also consider a different approach. My best practice is to avoid destructive policies. If something goes wrong the whole file can be lost. Further, promising to remove part of a file does not promise that the remainder of that file is in good order. It is best, in my experience, to promise the complete contents of a file. Create rather than destroy. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine