Plan 9 from Bell Labs’s /usr/web/sources/contrib/akumar/dict/legib.rc
#!/bin/rc sed 's!([^/]+) /!\1\n!g s!/((\([^0-9()]+\) )?)\(([0-9]+)\)!\n\1(\3)!g s!/$!\n!g s!/! / !g' $1