How can I output result into existing html template, using MySQL & Bash.
If I Write:
mysql --host="${VARS[6]}" --database="${VARS[9]}" --user="${VARS[7]}" \
--password="${VARS[8]}" --execute="SELECT 1 FROM table_name" \
--html --skip-column-names > $FILE
I get the result
<TABLE BORDER=1><TR><TR><TD>1</TD></TR></TABLE>
I want to get
<TABLE><TR><TR><TD>1</TD></TR></TABLE>
How can I re-declare a template so that MySQL is the output?