From 9ba475007c575414800a12c02ad203dc923d5f89 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 4 Jan 2020 16:07:11 -0300 Subject: Don't spellcheck pastebins --- spelling/check-spelling.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spelling') diff --git a/spelling/check-spelling.sh b/spelling/check-spelling.sh index 4f7549c..c9f03d2 100755 --- a/spelling/check-spelling.sh +++ b/spelling/check-spelling.sh @@ -25,7 +25,7 @@ check() { hunspell -l -p dicts.txt -d fr_FR -d en_US -i utf-8 "$html" | tee -a spelling.txt } export -f check -find "${HTML_DIR}" -type f -name '*.html' -print0 | xargs -0 -I{} bash -c "check {}" \; +find "${HTML_DIR}" -type f -name '*.html' | grep -v pastebin | xargs -I{} bash -c "check {}" \; if [[ -s spelling.txt ]]; then printf "\nvvv Mispelled words detected by hunspell.\n\n" -- cgit v1.2.3