ref: 96601790b2847b87bbab95382ed7010fa230cbbc 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 '