From: Daniel Arndt Date: Fri, 16 Dec 2016 13:15:33 +0000 (+0100) Subject: Fix split_summary to allow hyphens in authors' names X-Git-Tag: v8.5.0-rc1~329^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aefc20ffd3bf48548d8cd3ee7522e707dd26e619;p=dealii.git Fix split_summary to allow hyphens in authors' names --- diff --git a/doc/news/changes/split_summary.sh b/doc/news/changes/split_summary.sh index cad05456e9..47c79976fd 100755 --- a/doc/news/changes/split_summary.sh +++ b/doc/news/changes/split_summary.sh @@ -42,7 +42,7 @@ for f in xx*; do if [[ -s $f ]] ; then cat "$f" > tmp DATE=$(sed -n -r 's/^.*([0-9]{4})\/([0-1][0-9])\/([0-3][0-9]).*$/\1\2\3/p' "$f") - TMP=$(tail "$f" | sed -n -r 's/.*\(([A-Za-z0-9, ]*).*[0-9]{4}\/[0-1][0-9]\/([0-3][0-9])\).*/\1/p') + TMP=$(tail "$f" | sed -n -r 's/.*\(([-.A-Za-z0-9, ]*).*[0-9]{4}\/[0-1][0-9]\/([0-3][0-9])\).*/\1/p') NAME=$(echo "${TMP}" | sed -r 's/[ ,]+//g') OLDNAME=${NAME} COUNTER=0