Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 633 Bytes

README.md

File metadata and controls

19 lines (16 loc) · 633 Bytes

tmpl Build Status Hackage version

Simple command-line tool for string-template-replacement, based on Johan Tibbell's template-library.

The program could be run in three ways:

cat tt.tmpl
# The quick $color fox jumps over the $adj dog.
cat dd.conf
# color = brown
# adj = lazy
  1. tmpl color=brown:adj=lazy < tt.tmpl
  2. tmpl tt.tmpl < dd.conf
  3. tmpl tt.tmpl dd.conf