Makefile
changeset 207 3c96103ced32
parent 206 407f2a82ef26
child 222 242db5c0f8ce
equal deleted inserted replaced
206:407f2a82ef26 207:3c96103ced32
   341 echo '             Dictionary                  Count'; \
   341 echo '             Dictionary                  Count'; \
   342 echo '======================================== ====='; \
   342 echo '======================================== ====='; \
   343 total=0; \
   343 total=0; \
   344 for dic in $(C5_FILES); do \
   344 for dic in $(C5_FILES); do \
   345   cnt=`grep '^_____' $$dic | wc -l`; \
   345   cnt=`grep '^_____' $$dic | wc -l`; \
   346   printf '%40s %5s\n' $$dic $$cnt; \
   346   printf '%40s %5s\n' $${dic%.dict-c5} $$cnt; \
   347   total=$$(($$total + $$cnt)); \
   347   total=$$(($$total + $$cnt)); \
   348 done; \
   348 done; \
   349 printf '%40s %5s\n' '**Total**' $$total; \
   349 printf '%40s %5s\n' '**Total**' $$total; \
   350 echo '======================================== ====='; \
   350 echo '======================================== ====='; \
   351 } >$@
   351 } >$@