Commit dc347602 authored by Daniel Duarte's avatar Daniel Duarte
Browse files

update file

parent 6c69626e
Pipeline #17654 passed with stage
in 59 seconds
......@@ -2,31 +2,25 @@
set -e
function readAspellOptions {
options=`cat aspellOptions.txt`
aspellOptions+=$options
echo "using the following aspell command:"
echo $aspellOptions
echo
}
echo "Spell checking"
spell_check_code=0
version=`aspell --version`
echo $version
aspellOptions=`aspell `
readAspellOptions
options=`cat aspellOptions.txt`
aspellOptions+=$options
echo "using the following aspell command:"
echo $aspellOptions
echo
for x in $(find spellCheck/ -name '*.md');
do
lines=`cat $x | $aspellOptions list 2>errors.txt |wc -l`
lines=`cat $x | aspell $aspellOptions list 2>errors.txt |wc -l`
if [ $lines -gt 0 ]
then
echo $x:
cat $x | $aspellOptions list
cat $x | aspell $aspellOptions list
spell_check_code=1
echo
fi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment