How to replace ${} placeholders in a text file?

I want to pipe the output of a “template” file into MySQL, the file having variables like ${dbName} interspersed. What is the command line utility to replace these instances and dump the output to standard output?

18 Answers
18

Leave a Comment