Two Dice of A sides by tails

s/$/N=1,A=1/
:
s/-/<<123456789-01>/
s/\(.\)<.*\1\(-*.\).*>/\2/
/=\([13579]\)\1*,/s/\n\+/-/
t
P
/99/d
s/,/-,/
G
b

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

download

return to the top page