Re: Process only sections of a file? (newbie)
Eric Blake <[email protected]>
| Newsgroups | gmane.comp.gnu.m4.general |
|---|---|
| Organization | Red Hat |
| Message-ID | <[email protected]> |
On 09/15/2010 03:49 AM, Gary wrote: > Sorry if this is obviously documented somewhere, but I couldn't find it > (or perhaps found it and didn't understand it...). > > 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. -- Eric Blake [email protected] +1-801-349-2682 Libvirt virtualization library http://libvirt.org