]> git.plutz.net Git - confetti/commitdiff
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 b00b00855ec9b931fa7d719d497997f1b5373a2c..97589ee6f7b96ccd6761799e33ea671ab95b326d 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]}}}"