From 938c88c5e63a3b60fcb0b3e0c6a097e1d225bf31 Mon Sep 17 00:00:00 2001 From: gilgamezh Date: Tue, 26 May 2020 21:47:16 +0200 Subject: [PATCH] fix dict_dups check --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 014da9b8c9..72e08770f9 100644 --- a/Makefile +++ b/Makefile @@ -100,10 +100,10 @@ wrap: venv SHELL:=/bin/bash .ONESHELL: dict_dups: - if [[ $$(cat dict| sort | uniq -dc) ]]; then\ - echo -e "\n\n\n ####################### \n\n\n" + if [[ $$(cat dict| sort | uniq -dc) ]]; then + echo -e "\n #######################\n" echo "duplicated lines in the dict file" - uniq -dc dict + sort dict | uniq -dc |sort -h exit 1 else echo "no duplicated lines"