aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-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"