ref: 2e05af858ec745ffc174e503148ef7928f697c22 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 '