Skip to content

Commit

Permalink
[spellcheck] remove unknown split option
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Jan 13, 2017
1 parent 8f291a9 commit 563de37
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/spell_check/check_spelling.sh
Expand Up @@ -55,10 +55,10 @@ if [[ "$OSTYPE" =~ darwin* ]]; then
GNUPREFIX=g
fi

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


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

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

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

0 comments on commit 563de37

Please sign in to comment.