[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to patsubst the result of an include?

From: Steven Simpson
Subject: Re: How to patsubst the result of an include?
Date: Fri, 04 Feb 2005 15:17:08 +0000
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)

Gary V. Vaughan wrote:

Instead, for the next release I want to come up with a mechanism for allowing
macros to return their results quoted, though I haven't yet thought of a clean
way to turn it on and off,

For my own purposes, I've patched m4 built-ins to take an optional extra numeric argument to specify the amount of quoting in the generated output. The default, of course, is zero, so it should be backwards-compatible. Although I've used it practically with my own stuff, I've not tried to replace a default installation.

The first of these just patches one or two macros that I originally needed (substr). The second patches a lot more, including some possibly botched doc changes, which might be undesirable.


Any use, or has that approach been ruled out already?



Attachment: ss.vcf
Description: Vcard

reply via email to

[Prev in Thread] Current Thread [Next in Thread]