diff --git a/scripts/contributors.sh b/scripts/contributors.sh index 7b1cda385..90ea5c94d 100755 --- a/scripts/contributors.sh +++ b/scripts/contributors.sh @@ -78,18 +78,18 @@ sed 's/^ *//' )| \ sed -f ./docs/THANKS-filter | \ -grep -a ' ' | \ sort -fu | \ awk '{ - num++; - n = sprintf("%s%s%s,", n, length(n)?" ":"", $0); - #print n; - if(length(n) > 77) { - printf(" %s\n", p); - n=sprintf("%s,", $0); + if(length($0)) { + num++; + n = sprintf("%s%s%s,", n, length(n)?" ":"", $0); + #print n; + if(length(n) > 77) { + printf(" %s\n", p); + n=sprintf("%s,", $0); + } + p=n; } - p=n; - } END { diff --git a/scripts/contrithanks.sh b/scripts/contrithanks.sh index 46853da9a..b18842288 100755 --- a/scripts/contrithanks.sh +++ b/scripts/contrithanks.sh @@ -73,6 +73,5 @@ sed 's/^ *//' )| \ sed -f ./docs/THANKS-filter | \ -grep -a ' ' | \ sort -fu | \ grep -aixvf ./docs/THANKS