3 ms·
You would be better served with m4.
by kevin_thibedeau 10y ago
You would be better served with m4.
- flukus 10y agoI looked into m4 recently but it seems to be about the worst template engine imaginable. I'd take the c pre-processor over that any day. In the end I opted for a sed/awk/cat combo instead.
- daxelrod 10y agoCould you please point to some good m4 learning and reference resources? The only time I had to write m4 was admittedly in the context of autotools, but I found it really difficult to get answers to my questions about how everything worked.
- s_kilk 10y agoI wrote up a little tutorial on using m4 as a CSS pre-processor: http://blog.00null.net/post/144763147991/use-the-unix-m4-as-a-css-pre-processor http://blog.00null.net/post/144763147991/use-the-unix-m4-as-...
- flukus 10y agoWow thanks, that's a much better intro to the ones I cam across like this (http://mbreen.com/m4.html http://mbreen.com/m4.html). I may have to reevaluate it.
- daxelrod 10y agoCould you please point to some good m4 learning and reference resources? The only time I had to write m4 was admittedly in the context of autotools, but I found it really difficult to get answers to my questions about how everything worked.