diff options
author | Erich Eckner <git@eckner.net> | 2023-12-26 13:43:49 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2023-12-26 13:43:49 +0100 |
commit | fb95d38be6527b8b17974eb9831263531f199905 (patch) | |
tree | 73f93b2d06fe0b8b851b221a72f7b20decaeefe5 /import-kirchenmusik | |
parent | 76faea835f3939837b5702de6370e4456a474c47 (diff) | |
download | khal-extras-fb95d38be6527b8b17974eb9831263531f199905.tar.xz |
import-kirchenmusik: Leerzeichen erhalten
Diffstat (limited to 'import-kirchenmusik')
-rwxr-xr-x | import-kirchenmusik | 4 |
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 |