-# If we don't have a table file yet, we need to provide its header.
-header=" CW FK Li MH Mi Ne Pa Re Sp SZ TS TK sum"
-if [ ! -f "${table_path}" ]; then
- echo "${header}" > "${table_path}"
-fi
-
-# Parse Lageso day table of new infections by district into new line for history table.
-today="$(date +%Y-%m-%d)"
-curl "${CSV_URL}" \
-| awk 'BEGIN { FS=";"; ORS=""; print "'${today}'" }; '\
-'!/^Bezirk/ { printf "%4d", $3 }; '\
-'END { printf "\n" }' "${filename}" >> "${table_path}"