Initial commit
[profile/ivi/fontpackages.git] / bin / filter-unicover
1 #!/bin/sh
2 # Filter unicover output to keep only blocks with less than 10 missing glyphs
3 # (as fc-query does for lang coverage
4
5 sed 's=^\([^\:]*\):\( *\)\([0-9]\+\)/\([0-9]\+\)\( *\)(\([0-9.]\+\)%)$=\1|\3|\4|\6='\
6   | awk -F '|' '($3-$2 > 0) && ($3-$2 < 10) { print $1 ": " $3-$2 }'