diff options
author | EuAndreh <eu@euandre.org> | 2020-01-04 16:07:11 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2020-01-04 16:07:11 -0300 |
commit | 9ba475007c575414800a12c02ad203dc923d5f89 (patch) | |
tree | c01a0bb59bfae0a95b075c02fa82779a588510f2 /spelling | |
parent | docs/env.sh: Cleanup docs/env.sh file (diff) | |
download | euandre.org-9ba475007c575414800a12c02ad203dc923d5f89.tar.gz euandre.org-9ba475007c575414800a12c02ad203dc923d5f89.tar.xz |
Don't spellcheck pastebins
Diffstat (limited to 'spelling')
-rwxr-xr-x | spelling/check-spelling.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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" |