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"