# HG changeset patch # User Oleksandr Gavenko # Date 1489769695 -7200 # Node ID 04397698b6bef0fe86665fc988750d1de1586017 # Parent 872bb33fff3d8774ea8774dbdec0502476fed6ad Count only base word in missing statistic. diff -r 872bb33fff3d -r 04397698b6be Makefile --- a/Makefile Wed Mar 15 00:20:15 2017 +0200 +++ b/Makefile Fri Mar 17 18:54:55 2017 +0200 @@ -512,7 +512,7 @@ @ { \ stat() { \ lack=`python3 -B py/gadict_freq.py -b:dist/wordlist/gadict.list $$2:$$3 | wc -l`; \ - total=`wc -l <$$3`; \ + total=`grep -v '^[ ]' $$3 | wc -l`; \ cover=$$((total - lack)); \ printf " %4s %5s %5s %4s\n" $$1 $$cover $$total $$lack; \ }; \