Previous: recfmt Templates, Up: recfmt
Apply a template to all the records stored in the employees.rec file:
recsel employees.rec | recfmt 'Dear {{Name}}, you are fired.'
Read the template from a file:
recsel employees.rec | recfmt -f fire-letter.tmpl