diff options
author | Håkon Hallingstad <hakon@verizonmedia.com> | 2019-04-03 02:17:06 +0200 |
---|---|---|
committer | Håkon Hallingstad <hakon@verizonmedia.com> | 2019-04-03 02:17:06 +0200 |
commit | 05272b05f1f0934bffd68b3d8055563c88c70d18 (patch) | |
tree | ff1e59efb27222ca33794d0dd7df5c653b4711e4 /dist/.tito/packages/.readme | |
parent | 4a2506315ac3a4f1c2fc89b7f3ffeb9cef3af7c2 (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/.tito/packages/.readme')
0 files changed, 0 insertions, 0 deletions