Divide the rectangle by tails (%20)

s/^/ab=======\nacd=\nefcd=-\neghd\negi====/
:
s/=/--/
s/\(\w*\)-/\1\n\1/
t
s/[adeg]/&&/g
s/[abi]/&&&/g
s/[ai]/&&&/g
s/[df]/&&&&/g
s/[bg]/&&&&&/g
s/[ce]/&&&&&&&/g
s/\w/ &/g

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top