From aefc20ffd3bf48548d8cd3ee7522e707dd26e619 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Fri, 16 Dec 2016 14:15:33 +0100 Subject: [PATCH] Fix split_summary to allow hyphens in authors' names --- doc/news/changes/split_summary.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5