diff --git a/user-doc/go-spelling b/user-doc/go-spelling index b8aa36d134b38fa8a0a20bfdd1eec2db7dbd5774..90e8af1be355352012eae7e7a396d14491ff077a 100755 --- a/user-doc/go-spelling +++ b/user-doc/go-spelling @@ -59,7 +59,7 @@ if [ ! -f spelling_results ] ; then fi if test -z $TRAVIS ; then - cat spelling_results # | sed -e s/\\n/^M/g + awk '{for(i=1;i<=NF;++i){ if($i=="\\n") {printf("\n"); } else {printf("%s ", $i)} }}' spelling_results # If not a pull request add a comment on the commit message elif [ $TRAVIS_PULL_REQUEST=="false" ] ; then ASPELL_RESULTS=`cat spelling_results`