Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
copyed -> copied
also fix replacing word in interactive script
  • Loading branch information
3nids committed Jul 16, 2018
1 parent 53df974 commit 5898854
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/spell_check/check_spelling.sh
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions scripts/spell_check/spelling.dat
Expand Up @@ -1774,6 +1774,7 @@ coorperation:corporation
coorperations:corporations
copmetitors:competitors
coputer:computer
copyed:copied*
copyrigth:copyright
copyrigthed:copyrighted
copyrigths:copyrights
Expand Down

0 comments on commit 5898854

Please sign in to comment.