aboutsummaryrefslogtreecommitdiff
path: root/spelling/check-spelling.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2019-11-30 23:45:20 -0300
committerEuAndreh <eu@euandre.org>2019-11-30 23:45:20 -0300
commitee18567f29bee5ada7905417246dd40b1fef5606 (patch)
tree410358b69745855b61ead310b92d3f8a994f1ec2 /spelling/check-spelling.sh
parentabout.org: Change GitLab link to direct profile (diff)
downloadeuandre.org-ee18567f29bee5ada7905417246dd40b1fef5606.tar.gz
euandre.org-ee18567f29bee5ada7905417246dd40b1fef5606.tar.xz
check-spelling.sh: Print only unique entries of unkown words
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 b3bb15f..5f7b450 100755
--- a/spelling/check-spelling.sh
+++ b/spelling/check-spelling.sh
@@ -29,7 +29,7 @@ find "${HTML_DIR}" -type f -name '*.html' -print0 | xargs -0 -I{} bash -c "check
if [[ -s spelling.txt ]]; then
printf "\nvvv Mispelled words detected by hunspell.\n\n"
- cat spelling.txt
+ sort < spelling.txt | uniq
printf "\n^^^\n"
exit 1
else