commit 643d7ff61660609a7f0c9988428edef286dd8dbf parent 1d506245121a04ab21c83c5b2d26310703cfc3c5 Author: Jan Pobrislo <ccx@webprojekty.cz> Date: Wed, 14 Aug 2013 23:29:03 +0200 add README Diffstat:
| A | README | | | 15 | +++++++++++++++ |
1 file changed, 15 insertions(+), 0 deletions(-)
diff --git a/README b/README @@ -0,0 +1,15 @@ +Awk to Awk Templates; compiles interleaved awk and text into pure posix awk +code. + +This is my first attempt to create jinja2-like templates in awk. +(but it really works more like cheetah) + +Since proper solution for custom extensible tags would be quite complex, I +went for generating awk code from the template and then postprocessing it with +sed in place of proper macro support. This should be enough for generating +system configuration files. + +The syntax feels quite ugly since the inner workings don't match jinja2 at +all, so I might end up changing it. + +To test it out run: ./bin/aat hello.aat