Count only base word in missing statistic.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Fri, 17 Mar 2017 18:54:55 +0200
changeset 801 04397698b6be
parent 800 872bb33fff3d
child 802 a812ec996022
Count only base word in missing statistic.
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; \
 }; \