home
·
contact
·
privacy
projects
/
berlin-corona-table
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
c746dbe
)
Fix faulty path.
author
Christian Heller
<c.heller@plomlompom.de>
Tue, 30 Jun 2020 21:32:24 +0000
(23:32 +0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Tue, 30 Jun 2020 21:32:24 +0000
(23:32 +0200)
update.sh
patch
|
blob
|
history
diff --git
a/update.sh
b/update.sh
index a136185f923650da76b19cef6a7fd4f1b8d8d122..1a84c8ba9fa70208f7c7693d151b52c03be487ca 100755
(executable)
--- 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 }; '\
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/
meldetabel
le/daily_infections_table.txt
+'END { printf "\n" }' "${filename}" >> /home/plom/
berlin-corona-tab
le/daily_infections_table.txt
# Write enhanced table output to directory served by web server.
./enhance_table.py > /var/www/html/berlin_corona.txt
# Write enhanced table output to directory served by web server.
./enhance_table.py > /var/www/html/berlin_corona.txt