summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2023-12-26 13:43:49 +0100
committerErich Eckner <git@eckner.net>2023-12-26 13:43:49 +0100
commitfb95d38be6527b8b17974eb9831263531f199905 (patch)
tree73f93b2d06fe0b8b851b221a72f7b20decaeefe5
parent76faea835f3939837b5702de6370e4456a474c47 (diff)
downloadkhal-extras-fb95d38be6527b8b17974eb9831263531f199905.tar.xz
import-kirchenmusik: Leerzeichen erhalten
-rwxr-xr-ximport-kirchenmusik4
1 files 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