Simple pre-processing text
Mark Szidik
szidikm@mlcnet.org
Fri, 28 Sep 2001 21:40:04 -0400 (EDT)
Hi Ben, I noticed a new Email adress for you. How are things
going for you way out there in CA?
______________________________________________________________________
Mark Szidik
System Administrator Ph: 517.694.4242 x17 Fax: 517.694.9303
Michigan Library Consortium http://www.mlc.lib.mi.us
On 28 Sep 2001, Ben Pfaff wrote:
> Edward Glowacki <glowack2@msu.edu> writes:
>
> > What is the "right way" to include files in-line in a document,
> > i.e. take an input file that contains commands like "<input
> > file='chapter1.xml'>" or "#include 'chapter1.txt'" and generate
> > one large file from all the smaller pieces? It would be really
> > easy to write in PERL, but I have this feeling that there's a more
> > elegant solution out there already...
>
> You could write the file in m4. That would give you a lot more
> preprocessing power, too. (Be sure to use GNU m4's -P option to
> avoid unwanted expansions, though.) If you *just* want the
> ability to include files, though, write a little Perl program.
> --
> "I didn't say it was your fault.
> I said I was going to blame it on you."
> _______________________________________________
> linux-user mailing list
> linux-user@egr.msu.edu
> http://www.egr.msu.edu/mailman/listinfo/linux-user
>