Re: Process only sections of a file? (newbie)
Gary <[email protected]>
| Newsgroups | gmane.comp.gnu.m4.general |
|---|---|
| Message-ID | <[email protected]> |
Eric Blake wrote: > On 09/15/2010 03:49 AM, Gary wrote: >> What I would like to do is only have m4 process certain sections of a >> file delimited by some given sequence (in my case outside<?php ... ?> >> tags). Is that possible? > > changecom(`<?php', `?>') will treat all <?php...?> sequences as > comments, and thus not do any m4 processing of that portion of the text. *chuckle* Yeah, of course. I'm just not used to thinking of my code as comments. Thanks, Eric.