alphabet ranges by nn

p=n=0
"$System.in#".each{it-p?[p--&&print(n>1?"$s-$p":n?s+p:s),n=0,s=it]:n++
p=++it}

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

download

return to the top page