diff --git a/doc.zih.tu-dresden.de/util/check-spelling-changes.sh b/doc.zih.tu-dresden.de/util/check-spelling-changes.sh index a0b5fb75451463bc85b0fc9fb1702d55c41ae8c0..b44a3fd6afb17d0585f77f52c142fffcd509f7a1 100755 --- a/doc.zih.tu-dresden.de/util/check-spelling-changes.sh +++ b/doc.zih.tu-dresden.de/util/check-spelling-changes.sh @@ -7,10 +7,6 @@ basedir=`dirname "$scriptpath"` basedir=`dirname "$basedir"` wordlistfile=$(realpath $basedir/wordlist.aspell) -echo "scriptpath: $scriptpath" -echo "basedir: $basedir" -echo "wordlistfile: $wordlistfile" - function getNumberOfAspellOutputLines(){ cat - | aspell -p "$wordlistfile" --ignore 2 -l en_US list --mode=markdown | sort -u | wc -l } @@ -44,15 +40,6 @@ while read oldfile; do #Remove the prefix "b/" newfile=${newfile:2} current_count=`cat "$newfile" | getNumberOfAspellOutputLines` -# echo "======" -# echo "$current_count" -# echo "$newfile" -# echo "pwd $PWD" -# echo "wordlistfile: $wordlistfile" -# grep ZIH $wordlistfile -# echo "---" -# cat $newfile | aspell -p "$wordlistfile" --ignore 2 -l en_US list --mode=markdown -# echo "======" fi if [ $current_count -gt $previous_count ]; then echo "-- File $newfile"