Skip to content

Commit 5898854

Browse files
committedJul 16, 2018
copyed -> copied
also fix replacing word in interactive script
1 parent 53df974 commit 5898854

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
 

‎scripts/spell_check/check_spelling.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ for I in $(seq -f '%02g' 0 $((SPLIT-1)) ) ; do
223223
else
224224
# Match case
225225
MATCHCASE="$ERROR:$CORRECTION"
226-
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)
226+
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)
227227

228228
if [[ -n $OUTPUTLOG ]]; then
229229
echo "$FILE $NUMBER $ERROR $CORRECTIONCASE" >> $OUTPUTLOG

‎scripts/spell_check/spelling.dat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1774,6 +1774,7 @@ coorperation:corporation
17741774
coorperations:corporations
17751775
copmetitors:competitors
17761776
coputer:computer
1777+
copyed:copied*
17771778
copyrigth:copyright
17781779
copyrigthed:copyrighted
17791780
copyrigths:copyrights

0 commit comments

Comments
 (0)
Please sign in to comment.