fix another typo. OK, it is really about a broken c+p function m-)
authorpaul <paul@plutz.net>
Fri, 10 Jun 2016 13:28:03 +0000 (13:28 +0000)
committerpaul <paul@plutz.net>
Fri, 10 Jun 2016 13:28:03 +0000 (13:28 +0000)
svn path=/trunk/; revision=114

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]}}}"