]> code.citadel.org Git - citadel.git/blobdiff - webcit/scripts/get_ical_data__template.sed
Revert "serv_rssclient.c: style update"
[citadel.git] / webcit / scripts / get_ical_data__template.sed
diff --git a/webcit/scripts/get_ical_data__template.sed b/webcit/scripts/get_ical_data__template.sed
new file mode 100644 (file)
index 0000000..da73cc8
--- /dev/null
@@ -0,0 +1,11 @@
+#! /bin/sed -nf
+
+H
+$ {
+  x
+  s/\n//g
+  p
+}
+$ { 
+  s/.*typedef *enum *__ICALTYPE__ *{\(.*\)} *__ICALTYPE__ *;.*/\1/
+ }