From 3510f642c46a52c94d34ef7ad8bb2d53bc72a03f Mon Sep 17 00:00:00 2001
From: EuAndreh <eu@euandre.org>
Date: Wed, 14 Oct 2020 00:23:27 -0300
Subject: assert-spelling.sh: Actually show unique mispelled entries

---
 scripts/assert-spelling.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'scripts')

diff --git a/scripts/assert-spelling.sh b/scripts/assert-spelling.sh
index edc56dd..bf1a350 100755
--- a/scripts/assert-spelling.sh
+++ b/scripts/assert-spelling.sh
@@ -25,7 +25,7 @@ done
 
 if [[ -s "$OUT" ]]; then
   printf "\nvvv Mispelled words detected by hunspell.\n\n"
-  sort < "$OUT" | uniq
+  cut -d\  -f2- < "$OUT" | sort | uniq
   printf "\n^^^\n" >&2
   exit 1
 else
-- 
cgit v1.2.3