]> git.plutz.net Git - confetti/blobdiff - pages/attendees.sh
options for card editor, framework for editing actions
[confetti] / pages / attendees.sh
index 1a34b8b2e4780abc28422ccdd6fc3bf9a660d180..2d06f6b9561ca6e5d6189a98d3888534ce14b122 100755 (executable)
@@ -28,6 +28,8 @@ listcards() {
   esac
 }
 
+FIELDLIST="$(echo PHOTO LOGO FN NICKNAME SOUND GENDER KIND TITLE ROLE ORG MEMBER CATEGORIES ANNIVERSARY BDAY EMAIL TEL IMPP ADR URL LANG NOTE RELATED |tr ' ' '\n')"
+
 vcf_parse() {
   tr -d '\n' <"$1" |sed -r 's:\r ::g;s:\r:\n:g' \
   | sed -rn '
@@ -35,8 +37,8 @@ vcf_parse() {
     s:^X-MS-CARDPICTURE:001 PHOTO:p;
     s:^LOGO:002 LOGO:p;
     s:^FN:003 FN:p;
-    s:^NICKNAME:005 NICKNAME:p;
     s:^N:004 N:p
+    s:^NICKNAME:005 NICKNAME:p;
     s:^SOUND:006 SOUND:p;
     s:^GENDER:007 GENDER:p;
     s:^X-GENDER:007 GENDER:p;