display line breaks in comments
[confetti] / export.sh
1 #!/bin/zsh
2
3 case "$_GET[\"export\"]" in
4   vcard)
5     echo -n "Content-Type: text/vcard;charset=utf-8\n\n"
6     card="$_GET[\"card\"]"
7     cat "$_DATA/vcard/$card"
8   ;;
9   ical)
10     echo -n "Content-Type: text/calendar;charset=utf-8\n\n"
11     course="$_GET[\"course\"]"
12     cat "$_DATA/ical/$course"
13   ;;
14 esac