aboutsummaryrefslogtreecommitdiff

template

Template replacement with shell-like patterns

Usage

template [KEY=VALUE...]

Notes

  • Check Makefile for installation
  • Template is read from standard input
  • Formatted string is written to standard output
  • Partial replacement is permitted (undefined keys are left unchanged)
  • $$ translates to $
  • $KEY translates to VALUE
  • ${KEY} translates to VALUE

Dependencies

Executables must be available in PATH

  • python3