3 ms·
I imagine it's something like this? $ m4 << EOF changequote(],[)dnl define(foo,bar)dnl ]Lorem ipsum foo [foo] Lorem ipsum[ EOF Lorem ipsum
by jolmg 7y ago
I imagine it's something like this?
$ m4 << EOF
changequote(],[)dnl
define(foo,bar)dnl
]Lorem ipsum
foo
[foo]
Lorem ipsum[
EOF
Lorem ipsum
foo
bar
Lorem ipsum
- kd5bjo 7y agoThat looks about right; I’m usually outputting formats that don’t care about blank lines and so skip the “dnl”s and put the start and end quotes on their own lines for readability.
- throwaway_pdp09 7y agoHeh. Never seen that before. I'll have to have a play. Thanks both.