5 # DejaVu fonts statistics generator
6 # (c)2005 Stepan Roh (PUBLIC DOMAIN)
9 # Motto: "To proof that each task can be coded in very complicated way."
11 echo "Version New glyphs*)"
12 echo "-------- ----------"
13 versions
=`grep 'U+' status.txt \
16 | sed 's,original,0.0,' \
17 | sed 's,^\(.\)\.\(.\)$,\1.0\2,' \
20 | sed 's,^\(.\).0\(.\)$,\1.\2,' \
21 | sed 's,0\.0,original,'`
22 for ver
in $versions; do
23 sver
=`echo $ver | sed 's,\.,\\\\.,'`
24 count
=`grep "^U+.*$sver\( \|$\)" status.txt | wc -l`
25 printf '%-8s %10i\n' $ver $count
28 echo "*) some glyphs may be counted multiple times if they were added to different faces in different versions"