ref: 06912e53e491dedb495ca4e6a308831ef7af544f 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 '