A Japanese counting system by clock

s/1\(.\)/55\1/
s/8/53/
s/./&*******/g
h
y/*/ /
s/\([2-5]   \) /\1*/g
H
s/\([3-5]....\)  /\1**/g
s/\([45] \) /\1*/g
H
s/\*\* /   /g
H
y/*/ /
s/5 */5*******/g
H
g
s/0.*\|^.//gm
s/\w/ /g

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

download

return to the top page