Commit 3709e9b3 authored by Marco Maida's avatar Marco Maida 🌱

Removed verbatim text from spell-checker

parent 9ce7a967
......@@ -7,7 +7,10 @@ KNOWN_EXCEPTIONS=./scripts/wordlist.pws
while ! [ -z "$1" ]
do
SRC="$1"
#Here, sed is used to remove verbatim text (enclosed in <<>>)
for WORD in $(scripts/extract-comments.py "$SRC" \
| sed 's/<<.*>>//g' \
| aspell --add-extra-dicts=$KNOWN_EXCEPTIONS -l en list \
| sort \
| uniq)
......
Markdown is supported
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