On 09/03/2010 10:14 AM, Jack J. Woehr wrote:
Tom Browder wrote:
my experience with m4 has not
been comforting.

m4 is not here to comfort you, but rather, to cast a merciless spotlight
on your syntactic inadequacies :)

define(`Min', include(`conf/MINOR'))

Oops. No quotes around the definition body!

That depends. I've seen intentional unquoted includes in a define(), if you want Min to be defined to the expansion of the contents of conf/MINOR (and thus be expanded a second time when Min is expanded, having read the file exactly once), rather than defining Min to be shorthand for including the file in-place every time Min is expanded.

--
Eric Blake   [email protected]    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Reply via email to