#! /bin/sh

sed -e "s,^\([^;]*\);A,\1," -e t -e d EastAsianWidth.txt > width-a-new
uniset +width-a-new table ucs | sed -e "s, .*,," > width-a-new.ucs
sed -e "s,;, ," UnicodeData.txt > unicode.txt
join width-a-new.ucs u | ~/ms/insutf8 > ambig.txt
rm -f width-a-new width-a-new.ucs unicode.txt
