<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Thank you all for your input. I
eventually rolled my own. But I now have a list of tools that I
can use for similar purposes.<br>
<br>
<br>
On 10/12/2015 10:52 AM, Jerald Sheets wrote:<br>
</div>
<blockquote
cite="mid:CAAE6QHwSehjR9GAzJEr2XZY99SqrSFcBCRNacusV_HuhJgwV4w@mail.gmail.com"
type="cite">
<div dir="ltr">The puppetlabs-concat module on the Forge appears
to satisfy your needs nicely.
<div><br>
</div>
<div><a moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
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
moz-do-not-send="true"
href="mailto:pete.hardie@gmail.com"><a class="moz-txt-link-abbreviated" href="mailto:pete.hardie@gmail.com">pete.hardie@gmail.com</a></a>>
wrote:<br>
><br>
>> There's always awk<br>
>><br>
>><br>
>> On Sat, Oct 10, 2015 at 7:15 PM, DJ-Pfulio <<a
moz-do-not-send="true"
href="mailto:DJPfulio@jdpfu.com"><a class="moz-txt-link-abbreviated" href="mailto:DJPfulio@jdpfu.com">DJPfulio@jdpfu.com</a></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
moz-do-not-send="true"
href="http://www.template-toolkit.org/"
rel="noreferrer" target="_blank"><a class="moz-txt-link-freetext" href="http://www.template-toolkit.org/">http://www.template-toolkit.org/</a></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 moz-do-not-send="true" href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a moz-do-not-send="true"
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 moz-do-not-send="true"
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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Ale mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Ale@ale.org">Ale@ale.org</a>
<a class="moz-txt-link-freetext" href="http://mail.ale.org/mailman/listinfo/ale">http://mail.ale.org/mailman/listinfo/ale</a>
See JOBS, ANNOUNCE and SCHOOLS lists at
<a class="moz-txt-link-freetext" href="http://mail.ale.org/mailman/listinfo">http://mail.ale.org/mailman/listinfo</a>
</pre>
</blockquote>
<br>
</body>
</html>