Forum: Cfengine Help Subject: Re: Insert line when regexp does not match Author: Lars.O Link to topic: https://cfengine.com/forum/read.php?3,18868,18870#msg-18870
Thank you :-) I have no learned a bit more and useful things. And after adding a pair of {} at the end it parsed ok. However, the "new line" is always entered into the file, and as I understand it, this is because regcmp looks for "pattern" in the file name and not in the file contents. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine