|
From: | Eric Blake |
Subject: | Re: Process only sections of a file? (newbie) |
Date: | Wed, 15 Sep 2010 07:44:56 -0600 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100907 Fedora/3.1.3-1.fc13 Mnenhy/0.8.3 Thunderbird/3.1.3 |
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 address@hidden +1-801-349-2682 Libvirt virtualization library http://libvirt.org
[Prev in Thread] | Current Thread | [Next in Thread] |