I have added a transformation utility to my set of CSV utilities. It takes a CSV input and a “text/template” and applies the template to each row of the CSV.
The example shown is generating SQL INSERTs from the CSV.
Enjoy!
See transformcsv
in github.com/mandolyte/csv-utils