rcrowley / mustache.sh

Mustache in POSIX shell
Other
81 stars 8 forks source link

mustache.sh

Mustache in POSIX shell.

There's (as of this writing) only one call to a non-builtin which is probably enough to claim this is fast enough for most uses.

mustache.sh requires GNU sed(1).

Installation

make && sudo make install

Usage

From the command-line:

FOO="foo" BAR="bar" mustache.sh <"tests/test.mustache"

As a library:

. "lib/mustache.sh"
FOO="foo" BAR="bar"
mustache <"tests/test.mustache"

Spec

Deviations from spec

TODO

TODONE

License

mustache.sh is BSD-licensed.