Quick hack: list attendees year of birth in course summary
authorpaul <paul@plutz.net>
Tue, 8 Apr 2014 03:02:03 +0000 (03:02 +0000)
committerpaul <paul@plutz.net>
Tue, 8 Apr 2014 03:02:03 +0000 (03:02 +0000)
svn path=/trunk/; revision=44

pages/courses.sh

index f604515..6cb32e7 100755 (executable)
@@ -42,8 +42,7 @@ list_attendance() {
     n_pre="$(   sed -rn 's:^N(;.+)*\:([^;]*;){3} *([^;]*).*$:\3:p' "$_DATA/vcard/$each")"
     n_post="$(  sed -rn 's:^N(;.+)*\:([^;]*;){4} *([^;]*).*$:\3:p' "$_DATA/vcard/$each")"
     byear="$(  sed -rn 's:^BDAY(;.+)*\:([0-9]{4})(-[0-9][0-9]){2}.*$:\2:p' "$_DATA/vcard/$each")"
-    #aname="${n_pre} ${n_first} ${n_middle} ${n_last} ${n_post} (*${byear})"
-    aname="${n_pre} ${n_first} ${n_middle} ${n_last} ${n_post}"
+    aname="${n_pre} ${n_first} ${n_middle} ${n_last} ${n_post} (*${byear})"
     echo "$each $aname" |tr -d '\r'
   done
 }