I have an m4 template where I want to insert more than one line.
In my template I have the placeholder
__CODE__
. Now I want to call m4 with something like
m4 -D__CODE__="foo\nbar" template.m4
but in the output I get
foo\nbar
in place of __CODE__
.
Any ideas how this could be done?
Asked by Thorsten
(113 rep)
Jul 26, 2024, 07:08 AM
Last activity: Jul 26, 2024, 08:45 AM
Last activity: Jul 26, 2024, 08:45 AM