Skip to content

Commit 938c88c

Browse files
committed
fix dict_dups check
1 parent e2156ae commit 938c88c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,10 @@ wrap: venv
100100
SHELL:=/bin/bash
101101
.ONESHELL:
102102
dict_dups:
103-
if [[ $$(cat dict| sort | uniq -dc) ]]; then\
104-
echo -e "\n\n\n ####################### \n\n\n"
103+
if [[ $$(cat dict| sort | uniq -dc) ]]; then
104+
echo -e "\n #######################\n"
105105
echo "duplicated lines in the dict file"
106-
uniq -dc dict
106+
sort dict | uniq -dc |sort -h
107107
exit 1
108108
else
109109
echo "no duplicated lines"

0 commit comments

Comments
 (0)