A simple template expansion wrapper for sed