From fa569abc3f855692322f791a0c1112f85126e990 Mon Sep 17 00:00:00 2001 From: paul Date: Fri, 10 Jun 2016 13:28:03 +0000 Subject: [PATCH] fix another typo. OK, it is really about a broken c+p function m-) svn path=/trunk/; revision=114 --- actions/generate_courselist.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/generate_courselist.sh b/actions/generate_courselist.sh index b00b008..97589ee 100755 --- a/actions/generate_courselist.sh +++ b/actions/generate_courselist.sh @@ -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]}}}" -- 2.39.2