On Thu, Apr 29, 2010 at 08:41:26AM -0400, fo...@cfengine.com wrote: >Forum: Cfengine Help >Subject: Re: Insert a block of text >Author: Seva Gluschenko >Link to topic: https://cfengine.com/forum/read.php?3,17019,17032#msg-17032 > >From my current discussion with Mark Burgess, Cfengine's developer, it seems >like he maintains such approach intentionally. If nobody succeeds to convince >him to change his mind, the only available option for you is to invent a >workaround, e.g. define marks and perform search/replace actions using those >marks. > >As for me, lines ordering is important, too.
It seems that if you could change the definition of the line delimiter from "\n" to something that would never match, you could deal with "lines" of text in a single "block". However, this is a pretty ugly solution (if even possible). There are lots of files where blocks of text are as important as the individual lines. -- Jesse Becker NHGRI Linux support (Digicon Contractor) _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine