I have to regularly create 100+ text files from templates.I currently use an overly complicated shell script. I think there is a smarter way to handle this, but I don't know how.I have a database :# outputfile      template            data1   data2    data3first.txt         $template_main      $text1  abcd     1234second.txt        $template_main      $text2  efgh     5678third.txt         $template_other     $text1  ij       90And a configuration file :template_main=main.txttemplate_other=other.txttext1=whatevertext2=blahThe templates are text files with placeholders like %%data2%% (the placeholder form can be changed).Does someone know a tool to automate this better than with a complicated shell script ?
Tool to create text files from a template
shell script;text processing