aboutsummaryrefslogtreecommitdiffstats
path: root/dist/vespa.spec
diff options
context:
space:
mode:
authorHåkon Hallingstad <hakon@verizonmedia.com>2019-04-03 02:17:06 +0200
committerHåkon Hallingstad <hakon@verizonmedia.com>2019-04-03 02:17:06 +0200
commit05272b05f1f0934bffd68b3d8055563c88c70d18 (patch)
treeff1e59efb27222ca33794d0dd7df5c653b4711e4 /dist/vespa.spec
parent4a2506315ac3a4f1c2fc89b7f3ffeb9cef3af7c2 (diff)
Minimal template class
The Velocity template engine used in Template.java is a terrible fit for shell scripts, as their two special characters $ and # are frequent in both. This means shell scripts must escape $ and #, sometimes, and the rules for when and how is extremely difficult. I gave up on ${0##*/}, which apparently requires 2 escapes: one for $ and one for double-#. Escaping the double-# can be done with #[ All I want is to make simple substitutions. "Templar" provides that.
Diffstat (limited to 'dist/vespa.spec')
0 files changed, 0 insertions, 0 deletions