ref: 951ab17262c61dca249baf5aca1810b55117e684 dir: /sys/src/cmd/dict/egfix/
#!/bin/rc sed ' s/[ ]+$// / /!d /, /{; h; s/,.*//; p; g; s/ .*, / /; } ' $1 | sed ' /\(/{; h; s/\([^)]+\)//; p; g; s/[()]//g; } ' | sed ' s/ +/ / s/[ ]+$// s/ +/ /g '