home · contact · privacy
Output both .txt and .html variants.
[berlin-corona-table] / update.sh
index 251382711a2637635d4c22184496b2e7e8bf3015..27a9dd1fe476f16009fb0d94f0af5fa62eeccc86 100755 (executable)
--- a/update.sh
+++ b/update.sh
@@ -18,4 +18,5 @@ curl "${CSV_URL}" \
 'END { printf "\n" }' "${filename}" >> "${table_path}" 
 
 # Write enhanced table output to directory served by web server.
-./enhance_table.py "${table_path}" > /var/www/html/berlin_corona.txt
+./enhance_table.py "${table_path}" txt > /var/www/html/berlin_corona.txt
+./enhance_table.py "${table_path}" html > /var/www/html/berlin_corona.html