Comparing two numbers by tails (emoken)

h
s/ / > /
x
s/^/#/
:3
s/#\(.\)\(.* \)\(.\)/ \1\3#\2/
t3
s/ 00//g
s/ 0./</g
s/ .0/>/g
/^<\|# ./bl
/^>\|\w $/b
y/123456789/012345678/
/\w/b3
g;s/>/=/;h
:l
g;s/>/</;h
:
g

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

download

return to the top page