fix another typo. OK, it is really about a broken c+p function m-)
[confetti] / actions / generate_courselist.sh
index b00b008..97589ee 100755 (executable)
@@ -65,7 +65,7 @@ list_attendee() {  #Parameter: Cardfile
   done
 
   n=$(printf %s "$values[N]" \
-      | sed -rn 's:^([^;]*)(;[^;]*)(;[^;]*)?(;[^;]*)?(;[^;]*)?$:4 2 3 1 5:gp' \
+      | sed -rn 's:^([^;]*)(;[^;]*)(;[^;]*)?(;[^;]*)?(;[^;]*)?$:\4 \2 \3 \1 \5:gp' \
       | sed -r 's:,: :;s:;: :g;s: +: :g;s:^ $::;'
      )
   fullname="${n:-${values[FN]:-${values[NICKNAME]}}}"