Releases: dongyx/shsub
Releases · dongyx/shsub
v2.2.0
Add -e flag to set sequence for escaping single quotes
Rationale: Some shells, like rc, don't support using backslash escapes
outside of a quoted string. In order for shsub to support such shells
without caveats, it is useful to specify an alternative escape sequence for
single quotes.
Ref:
https://doc.cat-v.org/plan_9/4th_edition/papers/rc
https://github.com/rakitzis/rc
v2.1.2
v2.1.1
v2.1.0
v2.0.1
Fix known issues.
Thank Chris Wellons's review.
v2.0.0
This is a breaking upgrade and is incompatible with 1.x.
- Rewrite with plain C
- Build to a standalone executable instead of multiple ones
- Faster template compiling
- Support including other templates by
<%+,%> - The special treatment for shebang comments is deprecated; If an executable is required, compile the template to a shell script using the
-coption - Expressions are no longer automatically quoted and escaped
- The
prognameenvironment variable is no longer set; If the template needs to use$0, compile it to a shell script using the-coption