Blame bin/filter-unicover

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