<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">&lt;<a moz-do-not-send="true"
              href="mailto:DJPfulio@jdpfu.com" target="_blank">DJPfulio@jdpfu.com</a>&gt;</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>
                &gt; I used to use awk and perl for this kind of thing,
                and it's worth<br>
                &gt; mentioning that server side includes (SSI) do this.<br>
                &gt;<br>
                &gt; These days, though, I'd use jinja2 or another
                templating library. I have<br>
                &gt; successfully used jinja2 to generate text other
                than HTML, including MS<br>
                &gt; rich text format documents and LaTeX documents.<br>
                &gt;<br>
                &gt; Using m4 is fun for historical reasons. The
                configuration of sendmail was<br>
                &gt; done by generating the config files from m4
                sources. The configure script<br>
                &gt; that autoconf makes is also generated using m4, I
                believe.<br>
                &gt; On Oct 10, 2015 8:02 PM, "Pete Hardie" &lt;<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>&gt;
                wrote:<br>
                &gt;<br>
                &gt;&gt; There's always awk<br>
                &gt;&gt;<br>
                &gt;&gt;<br>
                &gt;&gt; On Sat, Oct 10, 2015 at 7:15 PM, DJ-Pfulio &lt;<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>&gt;
                wrote:<br>
                &gt;&gt;<br>
                &gt;&gt;&gt; On 10/10/2015 06:41 PM, Calvin Harrigan
                wrote:<br>
                &gt;&gt;&gt;&gt; On 10/10/2015 6:34 PM, DJ-Pfulio wrote:<br>
                &gt;&gt;&gt;&gt;&gt; On 10/10/2015 05:14 PM, Calvin
                Harrigan wrote:<br>
                &gt;&gt;&gt;&gt;&gt;&gt; Hi all,<br>
                &gt;&gt;&gt;&gt;&gt;&gt;      I've been looking for a
                tool that I can only describe as a text<br>
                &gt;&gt;&gt;&gt;&gt;&gt; compiler. The basic feature
                would be the ability to use something like<br>
                &gt;&gt;&gt;&gt;&gt;&gt; includes within a template file
                that references external files and<br>
                &gt;&gt;&gt;&gt;&gt;&gt; compile an output file that
                would be the amalgam of the text in the<br>
                &gt;&gt;&gt;&gt;&gt;&gt; template and the text of the
                referenced files.  Have you come across<br>
                &gt;&gt;&gt;&gt;&gt;&gt; anything that does this?  I've
                turned up at least one candidate, but<br>
                &gt;&gt;&gt; was<br>
                &gt;&gt;&gt;&gt;&gt;&gt; hoping for some more ideas.  I
                guess I can code/script something up,<br>
                &gt;&gt;&gt; but<br>
                &gt;&gt;&gt;&gt;&gt;&gt; time isn't on my side.
                Especially if it has been done before.<br>
                &gt;&gt;&gt;&gt;&gt;&gt;<br>
                &gt;&gt;&gt;&gt;&gt;<br>
                &gt;&gt;&gt;&gt;&gt; If you want outputs like HTML,
                there are lots of templating tools -<br>
                &gt;&gt;&gt;&gt;&gt; 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>
                &gt;&gt;&gt;&gt;&gt;<br>
                &gt;&gt;&gt;&gt;&gt;<br>
                &gt;&gt;&gt;<br>
                &gt;&gt;&gt;&gt; Thanks, I'm looking for something that
                does just plain text.<br>
                &gt;&gt;&gt;<br>
                &gt;&gt;&gt; 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>