#!ruby -n j=chomp.size puts$l=$l?($_*9).chars.zip($l.chars*9).join[0,j>8?j*2-1:$l.size*2]:$_
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page