From 43c7c41ef521c19b6d4ca95c6b0552469573fbee Mon Sep 17 00:00:00 2001 From: Evgeniy Sokolov Date: Tue, 19 Jan 2016 21:41:43 +0100 Subject: [PATCH] case insensitive dictionary --- files/.travis.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/.travis.sh b/files/.travis.sh index 44d8154..a4ab329 100644 --- a/files/.travis.sh +++ b/files/.travis.sh @@ -15,7 +15,7 @@ git diff HEAD^ --name-status | grep "^D" -v | sed 's/^.\t//g' > changed_files while read FILE; do echo -n "Проверка файла $FILE на опечатки... "; - OUTPUT=$(cat "$FILE" | sed "s/$DICT_REGEXP//g" | sed 's/https\?:[^ ]*//g' | sed "s/[(][^)]*\.md[)]//g" | hunspell -d russian-aot,ru_RU,de_DE,en_US | $DIR/spell-checker); + OUTPUT=$(cat "$FILE" | sed "s/$DICT_REGEXP//gi" | sed 's/https\?:[^ ]*//g' | sed "s/[(][^)]*\.md[)]//g" | hunspell -d russian-aot,ru_RU,de_DE,en_US | $DIR/spell-checker); OUTPUT_EXIT_CODE=$? if [ $OUTPUT_EXIT_CODE -ne 0 ]; then