]> git.plutz.net Git - lobster/commitdiff
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 f604515554bd7185b230372c05eda81c8ee1188b..6cb32e7529a65cea5feb60a1d6e11c8d30493b24 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
 }