RE: matching a new [section] or EOF with select_end in a select_region body

2010-04-14 Thread Assarsson, Emil
ction] or EOF with select_end in a select_region body If you leave off the "select_end", it will match from the select_start to the end of file. If you have both a select_start and a select_end, then it will match between those - and in a recent patch, it will also allow EOF to match t

Re: matching a new [section] or EOF with select_end in a select_region body

2010-04-13 Thread daniel . klein
If you leave off the "select_end", it will match from the select_start to the end of file. If you have both a select_start and a select_end, then it will match between those - and in a recent patch, it will also allow EOF to match the end. You'll need the newer code, though... -Dan > Hi, > > D

Cfengine Help: Re: matching a new [section] or EOF with select_end in a select_region body

2010-04-13 Thread forum
Forum: Cfengine Help Subject: Re: matching a new [section] or EOF with select_end in a select_region body Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,16887,16888#msg-16888 \z or \Z might do the trick. See man pcrepattern