Path: utzoo!attcan!utgpu!watmath!att!ucbvax!bloom-beacon!Athena.MIT.EDU!jik From: jik@Athena.MIT.EDU (Jonathan I. Kamens) Newsgroups: comp.unix.wizards Subject: Re: Need help using /usr/lib/cpp for generic text Message-ID: <14501@bloom-beacon.MIT.EDU> Date: 21 Sep 89 21:22:52 GMT References: <836@pacific.mps.ohio-state.edu> Sender: daemon@bloom-beacon.MIT.EDU Reply-To: jik@Athena.MIT.EDU (Jonathan I. Kamens) Organization: Massachusetts Institute of Technology Lines: 21 In article <836@pacific.mps.ohio-state.edu>, verber@pacific.mps.ohio-state.edu (Mark A. Verber) writes: > [Various problems with using cpp for TeX text files.] I use the m4 macro preprocessor when I need that functionality for text files, and I find that it's more convenient for text files, at least partially because you can do expansions inside quotes and it won't treat the quoted strings specially. I believe (but I'm not sure) that m4 is freely redistributable (but not in the public domain, since I think it's Berkeley code). If it is, you should be able to ftp to uunet.uu.net and snarf it from the Berkeley sources that are available there. Make sure to get a man page too :-) Jonathan Kamens USnail: MIT Project Athena 11 Ashford Terrace jik@Athena.MIT.EDU Allston, MA 02134 Office: 617-253-4261 Home: 617-782-0710