File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -55,10 +55,10 @@ if [[ "$OSTYPE" =~ darwin* ]]; then
55
55
GNUPREFIX=g
56
56
fi
57
57
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
59
59
60
60
61
- for (( I= 1 ;I<= $SPLIT ;I++ )) ; do
61
+ for (( I= 0 ;I< $SPLIT ;I++ )) ; do
62
62
SPELLFILE=spelling$I ~;
63
63
64
64
# This will try to look for mispelling within larger words.
@@ -102,7 +102,7 @@ for ((I=1;I<=$SPLIT;I++)) ; do
102
102
fi
103
103
104
104
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 "
106
106
echo -e " \x1B[4ma\x1B[0mppend \x1B[33m$SPELLOKSTR \x1B[0m at the end of the line to avoid spell check on this line"
107
107
echo -e " en\x1B[4mt\x1B[0mer your own correction"
108
108
echo -e " ignore and \x1B[4mc\x1B[0montinue"
You can’t perform that action at this time.
0 commit comments