Divide the rectangle by Mark Byers

$><<('a\x12b\x0f
'*15+'a\x12c\x07d\x08
'*3+'e\x0ef\x04c\x07d\x08
'*4+'e\x0eg
h\x01d\x08
'+'e\x0eg
i\x09
'*9).gsub(/(.)\D/){" #$1"*$&[1]}

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

download

return to the top page