diff options
author | EuAndreh <eu@euandre.org> | 2019-11-30 23:45:20 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2019-11-30 23:45:20 -0300 |
commit | ee18567f29bee5ada7905417246dd40b1fef5606 (patch) | |
tree | 410358b69745855b61ead310b92d3f8a994f1ec2 /spelling/check-spelling.sh | |
parent | about.org: Change GitLab link to direct profile (diff) | |
download | euandre.org-ee18567f29bee5ada7905417246dd40b1fef5606.tar.gz euandre.org-ee18567f29bee5ada7905417246dd40b1fef5606.tar.xz |
check-spelling.sh: Print only unique entries of unkown words
Diffstat (limited to '')
-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 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 |