Scripts to generate the html output files optimized.

This commit is contained in:
Kai Lauterbach 2023-05-04 12:55:18 +02:00
parent 3aabfcd58e
commit 1cf68b8922
2 changed files with 2 additions and 1 deletions

View file

@ -1,4 +1,4 @@
#!/bin/bash
cat $1 | sed -e"s/^ *//ig" | sed -e "s/^\/\/.*//ig"
cat $1 | sed -e"s/^ *//ig" | sed -e "s/^\/\/.*//ig" | sed -e "s/ \/\/ .*//ig" | sed -E '/^\s*$/d' | sed '/^[[:space:]]*$/d'

View file

@ -5,3 +5,4 @@ bash ../../tools/html2string.sh ../html/index_template_middle.html > index_templ
bash ../../tools/html2string.sh ../html/index_template_bottom.html > index_template_bottom.html
bash ../../tools/html2string.sh ../html/config_template.html > config_template.html
bash ../../tools/html2string.sh ../html/light_control_template.html > light_control_template.html
bash ../../tools/html2string.sh ../html/tc_data_edit.html > tc_data_edit.html