Skip to content

Commit 563de37

Browse files
committed
[spellcheck] remove unknown split option
1 parent 8f291a9 commit 563de37

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/spell_check/check_spelling.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ if [[ "$OSTYPE" =~ darwin* ]]; then
5555
GNUPREFIX=g
5656
fi
5757

58-
${GNUPREFIX}split --number=l/$SPLIT --numeric-suffixes=1 --suffix-length=1 --additional-suffix=~ ${DIR}/spelling.dat spelling
58+
${GNUPREFIX}split --number=l/$SPLIT --numeric-suffixes --suffix-length=1 --additional-suffix=~ ${DIR}/spelling.dat spelling
5959

6060

61-
for ((I=1;I<=$SPLIT;I++)) ; do
61+
for ((I=0;I<$SPLIT;I++)) ; do
6262
SPELLFILE=spelling$I~;
6363

6464
# This will try to look for mispelling within larger words.
@@ -102,7 +102,7 @@ for ((I=1;I<=$SPLIT;I++)) ; do
102102
fi
103103

104104
echo ""
105-
echo -e " \x1B[4mr\x1B[0meplace by \x1B[33m$CORRECTION\x1B[0m"
105+
echo -e " \x1B[4mr\x1B[0meplace by \x1B[33m$CORRECTION\x1B[0m at line $NUMBER"
106106
echo -e " \x1B[4ma\x1B[0mppend \x1B[33m$SPELLOKSTR\x1B[0m at the end of the line to avoid spell check on this line"
107107
echo -e " en\x1B[4mt\x1B[0mer your own correction"
108108
echo -e " ignore and \x1B[4mc\x1B[0montinue"

0 commit comments

Comments
 (0)