Commit Graph

4 Commits

Author SHA1 Message Date
Tianon Gravi 9f6a35772a Implement JSON string escape in pure-awk (several orders of magnitude faster)
I've got a very pathological branch of a certain repository where this makes a parallelized (four concurrent invocations) generation change from ~3 _minutes_ down to ~13 _seconds_.
2022-07-13 16:39:56 -07:00
Tianon Gravi 1da7341a79 Fix jq-template to properly count {{ }} pairs
This fixes edge cases like:

```
{{ foo }} {{ bar }} {{
    baz
    | buzz
}}
```
2021-07-16 15:34:01 -07:00
Tianon Gravi 00e281f36e Update "jq-template.awk" to ignore pure-comment lines
{{ # ... -}}
2021-01-21 22:11:56 -08:00
Tianon Gravi 5f0c26381f Add initial jq-template.awk 2020-08-27 15:39:03 -07:00