From 002b2558e02b14bf2dbcd3ba5ec039d22bac2d69 Mon Sep 17 00:00:00 2001 From: paul Date: Tue, 8 Apr 2014 03:02:03 +0000 Subject: [PATCH] Quick hack: list attendees year of birth in course summary svn path=/trunk/; revision=44 --- pages/courses.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pages/courses.sh b/pages/courses.sh index f604515..6cb32e7 100755 --- a/pages/courses.sh +++ b/pages/courses.sh @@ -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 } -- 2.39.2