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,18902#msg-18902
I hope your ;-) means you misunderstood me correctly :-) But as my english
isn't perfect, to be on the safe side...
Yes the help is ve
Forum: Cfengine Help
Subject: Re: Insert line when regexp does not match
Author: mark
Link to topic: https://cfengine.com/forum/read.php?3,18868,18900#msg-18900
Is the help really that "odd"? ;-) I always thought it was rather good. :-)
___
Help-cfengin
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,18899#msg-18899
Yes, I've read it, and it's great.
Too me there is still a gap between getting started and understanding and
applying the details of t
Forum: Cfengine Help
Subject: Re: Insert line when regexp does not match
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,18868,18875#msg-18875
Did you try my tutorial? http://watson-wilson.ca/blog/cf3-tutorial.html
___
Help-cfen
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,18873#msg-18873
Brilliant, thank you :-). I'm ever so grateful. It seems to work exactly the
way I want.
(You wouldn't know if there's a Cfengine 3 f
Forum: Cfengine Help
Subject: Re: Insert line when regexp does not match
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,18868,18872#msg-18872
Yep, silly me ) Just place regline() instead of regcmp() call.
___
Help-cfengine
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
Forum: Cfengine Help
Subject: Re: Insert line when regexp does not match
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,18868,18869#msg-18869
There was a very nice cf2 to cf3 syntax conversion tool on cfengine.com site.
Can't find it now, though. Perhaps, Mark decide