X-Git-Url: https://plomlompom.com/repos/?p=berlin-corona-table;a=blobdiff_plain;f=update.sh;h=1a84c8ba9fa70208f7c7693d151b52c03be487ca;hp=a136185f923650da76b19cef6a7fd4f1b8d8d122;hb=74f4868304347258087e64ad210d5e8a0902b092;hpb=7c65171564d45767cac7ba903dd8206620943b2e diff --git a/update.sh b/update.sh index a136185..1a84c8b 100755 --- a/update.sh +++ b/update.sh @@ -5,7 +5,7 @@ today="$(date +%Y-%m-%d)" curl https://www.berlin.de/lageso/_assets/gesundheit/publikationen/corona/bezirkstabelle.csv \ | awk 'BEGIN { FS=";"; ORS=""; print "'${today}'" }; '\ '!/^Bezirk/ { printf "%4d", $3 }; '\ -'END { printf "\n" }' "${filename}" >> /home/plom/meldetabelle/daily_infections_table.txt +'END { printf "\n" }' "${filename}" >> /home/plom/berlin-corona-table/daily_infections_table.txt # Write enhanced table output to directory served by web server. ./enhance_table.py > /var/www/html/berlin_corona.txt