Re: Having Trouble with m4 Input (m4 version 1.4.13)
"Gary V. Vaughan" <[email protected]>
| Newsgroups | gmane.comp.gnu.m4.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Tom, On 4 Sep 2010, at 01:31, Tom Browder wrote: > However, can anyone point to a good source of "practical" m4 macros > outside the autoconf arena? I looked at several but I didn't see any > plain text processing macros outside autoconf use. Here is an ealy draft for an article I wrote for `Linux User & Developer' magazine about 5 years ago (shame it starts with "on the cusp of the release of GNU M4 2.0" *blush*). I can't lay my hands on the completed version of the article right now, but you might find this draft interesting nonetheless, since it deals with M4 as a C preprocessor. If you try to copy any of the code, beware that the file is in Emacs muse-mode syntax; so [ characters had to be escaped with a leading ` to prevent them from being treated as links, and fixed width font words are surrounded by = characters, as well as a smattering of HTML entities (& for &) and tags (<example>). Cheers, -- Gary V. Vaughan ([email protected])
M4-2.0.muse
(application/octet-stream, 11.1 KB) - not displayed
PGP.sig
(application/pgp-signature, 195 B) - not displayed