Skip to content
Permalink
Browse files

copyed -> copied

also fix replacing word in interactive script
  • Loading branch information
3nids committed Jul 16, 2018
1 parent 53df974 commit 5898854e98c79510d716a12df1b40c44c91992f9
Showing with 2 additions and 1 deletion.
  1. +1 −1 scripts/spell_check/check_spelling.sh
  2. +1 −0 scripts/spell_check/spelling.dat
@@ -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
@@ -1774,6 +1774,7 @@ coorperation:corporation
coorperations:corporations
copmetitors:competitors
coputer:computer
copyed:copied*
copyrigth:copyright
copyrigthed:copyrighted
copyrigths:copyrights

0 comments on commit 5898854

Please sign in to comment.
You can’t perform that action at this time.