3 ms·
Based on the rationale given I think the author could have used GNU m4. While I'm definitely not fond of the syntax, it can get the job done. I don't think many
by mhitza 3y ago
Based on the rationale given I think the author could have used GNU m4. While I'm definitely not fond of the syntax, it can get the job done. I don't think many (if any) projects use it (excluding autoconf).
Here's the manual on one page https://www.gnu.org/software/m4/manual/m4.html https://www.gnu.org/software/m4/manual/m4.html
An m4 example, similar with the snippet within the README
define(`foo', `$1' `$2')
foo(hello, world)
define(`bar', hello)
foo(`bar', world)
esyscmd(`./executable-path')
esyscmd(`cat /tmp/file')