diff --git a/scripts/spell_check/check_spelling.sh b/scripts/spell_check/check_spelling.sh index aa22cc8dfbab..669deed7e5f4 100755 --- a/scripts/spell_check/check_spelling.sh +++ b/scripts/spell_check/check_spelling.sh @@ -223,7 +223,7 @@ for I in $(seq -f '%02g' 0 $((SPLIT-1)) ) ; do else # Match case MATCHCASE="$ERROR:$CORRECTION" - CORRECTIONCASE=$(echo "$MATCHCASE" | ${GP}sed -r 's/([A-Z]+):(.*)/\1:\U\2/; s/([A-Z][a-z]+):([a-z])/\1:\U\2\L/' | cut -d: -f2) + CORRECTIONCASE=$(echo "$MATCHCASE" | ${GP}sed -r 's/([A-Z]+):(.*)/\1:\U\2/; s/([A-Z][a-z]+):([a-z])/\1:\U\2\L/; s/\*?$//;' | cut -d: -f2) if [[ -n $OUTPUTLOG ]]; then echo "$FILE $NUMBER $ERROR $CORRECTIONCASE" >> $OUTPUTLOG diff --git a/scripts/spell_check/spelling.dat b/scripts/spell_check/spelling.dat index cbf1a3d17d87..16a11bfe17f7 100644 --- a/scripts/spell_check/spelling.dat +++ b/scripts/spell_check/spelling.dat @@ -1774,6 +1774,7 @@ coorperation:corporation coorperations:corporations copmetitors:competitors coputer:computer +copyed:copied* copyrigth:copyright copyrigthed:copyrighted copyrigths:copyrights