aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-01-04 16:07:11 -0300
committerEuAndreh <eu@euandre.org>2020-01-04 16:07:11 -0300
commit9ba475007c575414800a12c02ad203dc923d5f89 (patch)
treec01a0bb59bfae0a95b075c02fa82779a588510f2
parentdocs/env.sh: Cleanup docs/env.sh file (diff)
downloadeuandre.org-9ba475007c575414800a12c02ad203dc923d5f89.tar.gz
euandre.org-9ba475007c575414800a12c02ad203dc923d5f89.tar.xz
Don't spellcheck pastebins
-rwxr-xr-xspelling/check-spelling.sh2
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"