<div dir="ltr">The puppetlabs-concat module on the Forge appears to satisfy your needs nicely.<div><br></div><div><a href="https://forge.puppetlabs.com/puppetlabs/concat">https://forge.puppetlabs.com/puppetlabs/concat</a><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">---<br>Jerald M. Sheets jr.<br><br></div></div>
<br><div class="gmail_quote">On Sun, Oct 11, 2015 at 11:11 AM, DJ-Pfulio <span dir="ltr"><<a href="mailto:DJPfulio@jdpfu.com" target="_blank">DJPfulio@jdpfu.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">jinja2 is built-into ansible, so I've used it too. Ansible could be<br>
used for this pretty easily.<br>
<br>
<a href="https://docs.ansible.com/ansible/assemble_module.html" rel="noreferrer" target="_blank">https://docs.ansible.com/ansible/assemble_module.html</a><br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On 10/11/2015 10:56 AM, Ed Cashin wrote:<br>
> I used to use awk and perl for this kind of thing, and it's worth<br>
> mentioning that server side includes (SSI) do this.<br>
><br>
> These days, though, I'd use jinja2 or another templating library. I have<br>
> successfully used jinja2 to generate text other than HTML, including MS<br>
> rich text format documents and LaTeX documents.<br>
><br>
> Using m4 is fun for historical reasons. The configuration of sendmail was<br>
> done by generating the config files from m4 sources. The configure script<br>
> that autoconf makes is also generated using m4, I believe.<br>
> On Oct 10, 2015 8:02 PM, "Pete Hardie" <<a href="mailto:pete.hardie@gmail.com">pete.hardie@gmail.com</a>> wrote:<br>
><br>
>> There's always awk<br>
>><br>
>><br>
>> On Sat, Oct 10, 2015 at 7:15 PM, DJ-Pfulio <<a href="mailto:DJPfulio@jdpfu.com">DJPfulio@jdpfu.com</a>> wrote:<br>
>><br>
>>> On 10/10/2015 06:41 PM, Calvin Harrigan wrote:<br>
>>>> On 10/10/2015 6:34 PM, DJ-Pfulio wrote:<br>
>>>>> On 10/10/2015 05:14 PM, Calvin Harrigan wrote:<br>
>>>>>> Hi all,<br>
>>>>>> I've been looking for a tool that I can only describe as a text<br>
>>>>>> compiler. The basic feature would be the ability to use something like<br>
>>>>>> includes within a template file that references external files and<br>
>>>>>> compile an output file that would be the amalgam of the text in the<br>
>>>>>> template and the text of the referenced files. Have you come across<br>
>>>>>> anything that does this? I've turned up at least one candidate, but<br>
>>> was<br>
>>>>>> hoping for some more ideas. I guess I can code/script something up,<br>
>>> but<br>
>>>>>> time isn't on my side. Especially if it has been done before.<br>
>>>>>><br>
>>>>><br>
>>>>> If you want outputs like HTML, there are lots of templating tools -<br>
>>>>> TemplateToolkit <a href="http://www.template-toolkit.org/" rel="noreferrer" target="_blank">http://www.template-toolkit.org/</a><br>
>>>>><br>
>>>>><br>
>>><br>
>>>> Thanks, I'm looking for something that does just plain text.<br>
>>><br>
>>> It can.<br>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
</div></div></blockquote></div><br></div>