From fb95d38be6527b8b17974eb9831263531f199905 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 26 Dec 2023 13:43:49 +0100 Subject: import-kirchenmusik: Leerzeichen erhalten --- import-kirchenmusik | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/import-kirchenmusik b/import-kirchenmusik index 4e11c6e..36dacc5 100755 --- a/import-kirchenmusik +++ b/import-kirchenmusik @@ -3,7 +3,7 @@ tmp_file=$(mktemp) trap 'rm -f "${tmp_file}"' EXIT -printf '%s %s %s\n' \ +printf '%s %s %s.\n' \ 'oratorienchor' 'Erich' '' \ 'thueringer-saengerknaben' 'Familie' 'K\&F: ' \ | while read -r Chor Kalender Extra; do @@ -14,7 +14,7 @@ printf '%s %s %s\n' \ curl -Ss "${url%/}/?ical=1" \ | sed ' /^BEGIN:VTIMEZONE\s*$/,/^END:VTIMEZONE\s*$/ w'"${tmp_file}"' - s@^SUMMARY:@\0'"${Extra}"'@ + s@^SUMMARY:@\0'"${Extra%.}"'@ ' \ | khal import -a "${Kalender}" --batch done -- cgit v1.2.3-70-g09d2