copyed -> copied

also fix replacing word in interactive script
This commit is contained in:
Denis Rouzaud 2018-07-16 07:10:15 +02:00
parent 53df974131
commit 5898854e98
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -1774,6 +1774,7 @@ coorperation:corporation
coorperations:corporations
copmetitors:competitors
coputer:computer
copyed:copied*
copyrigth:copyright
copyrigthed:copyrighted
copyrigths:copyrights