BTE - The Bash Template Engine

Author: Adrian Perez <aperez@igalia.com>
License:GPL3

Abstract

Inert template engine for use in shell code. Provides text templating facilities, in such a way that it is not possible to run arbitrary code from a template: templates are parsed instead of passed along to the shell as code, or being expanded by means of the eval builtin.

Contents

Introduction

Warning

Documentation not yet available.

Functions

bte_format_xmlescape

bte_format_xmlescape state < input > output

Formatter which escapes characters into X(HT)ML entities.

bte_dotted_var

bte_dotted_var state var

bte_template

bte_template state < input > output