Forum: Cfengine Help Subject: Re: Cfengine Help: long string format Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,22515,22523#msg-22523
Jonathan Clarke Wrote: ------------------------------------------------------- > Mark, I think sauer is referring to this typo in the Solutions Guide, at > http://cfengine.com/manuals/cf3-solutions.html#Set-up-a-PXE-boot-server. > More of a documentation bug than a software bug. Yes, that's the thing to which I was referring. I originally included a link, but apparently the link got stripped during one of my "preview,edit,preview again" cycles. :) I could swear I'd seen a similar thing in the reference guide before, which was probably the same format / parse bug in the documentation generation. But there are a few weird syntax things in the language, so I figured I'd better ask to be sure. :) > sauer, you can use multi-line strings wherever you use "plain" strings: > just adding a line break in a string causes it to continue, until a > closing " is encountered. For example: Yes, I've use $(const.n) and spread strings across multiple lines previously, but I hadn't tried doing it without the newline variables. Thanks for the example. :) --Danny _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine