ref: 403fef45c1a65aa74c449764e2857597fc03290a 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 '