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

use previous function stup

parent 347b8760
Pipeline #17477 passed with stage
in 4 minutes and 44 seconds
#!/bin/bash
set -e
aspellOptions="aspell "
function readAspellOptions {
jsonFile=$1
local jsonOptions="aspell "
while read line; do jsonOptions+="$line"; done < $jsonFile
echo "$jsonOptions"
filename=$1
while read line; do aspellOptions+=$line; done < $filename
echo "$aspellOptions"
}
echo "Spell checking"
spell_check_code=0
aspellOptions=$(readAspellOptions)
echo "vvvvvvvv"
echo $aspellOptions
echo "^^^^^^^^"
aspellOptions
for x in $(find spellCheck/ -name '*.md');
do
......
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