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 (parent:
2843d65
)
Remove redundant whitespace.
author
Christian Heller
<c.heller@plomlompom.de>
Fri, 3 Jul 2020 17:55:38 +0000
(19:55 +0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Fri, 3 Jul 2020 17:55:38 +0000
(19:55 +0200)
update.sh
patch
|
blob
|
history
diff --git
a/update.sh
b/update.sh
index 11bfb0f997b323ff876ea1d968e3fd04622eaa53..57ecf89d056395bf704c3ead01f945d118c7a597 100755
(executable)
--- a/
update.sh
+++ b/
update.sh
@@
-15,7
+15,7
@@
today="$(date +%Y-%m-%d)"
curl "${CSV_URL}" \
| awk 'BEGIN { FS=";"; ORS=""; print "'${today}'" }; '\
'!/^Bezirk/ { printf "%4d", $3 }; '\
curl "${CSV_URL}" \
| awk 'BEGIN { FS=";"; ORS=""; print "'${today}'" }; '\
'!/^Bezirk/ { printf "%4d", $3 }; '\
-'END { printf "\n" }' "${filename}" >> "${table_path}"
+'END { printf "\n" }' "${filename}" >> "${table_path}"
# Write enhanced table output to directory served by web server.
./enhance_table.py "${table_path}" txt > /var/www/html/berlin_corona.txt
# Write enhanced table output to directory served by web server.
./enhance_table.py "${table_path}" txt > /var/www/html/berlin_corona.txt